How could I Encrypt the data of SDO_GEOMETRY type using DBMS_CRYPTO package

Hi:
I want to Encrypt the data of SDO_GEOMETRY object type using DBMS_CRYPTO package.
What could I do? hope anyone can help me,give me a suggestions!
thanks in advance.
lgs

well, the spatial api would not be able to handle this data anymore, so what you are trying to do is converting an SDO_GEOMETRY to some cryptable user type (see http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm#sthref1506) and encrypting this.
Before using the SDO_GEOMETRY type will have to decrypt and reconvert it again and pass it to the spatial query or function.

Similar Messages

  • How can we give the Data Format (File Type ) in Runtime

    Hi all,
    How can we give the Data Format (File Type ) in Runtime for the following method,
    cl_gui_frontend_services=>gui_download.
    Thanks in advance
    Sri

    There is a filetype parameter which you can set
    CALL METHOD cl_gui_frontend_services=>gui_download
      EXPORTING
    *    BIN_FILESIZE              =
        filename                  =
    *    FILETYPE                  = 'ASC'
    *    APPEND                    = SPACE
    *    WRITE_FIELD_SEPARATOR     = SPACE
    *    HEADER                    = '00'
    *    TRUNC_TRAILING_BLANKS     = SPACE
    *    WRITE_LF                  = 'X'
    *    COL_SELECT                = SPACE
    *    COL_SELECT_MASK           = SPACE
    *    DAT_MODE                  = SPACE
    *    CONFIRM_OVERWRITE         = SPACE
    *    NO_AUTH_CHECK             = SPACE
    *    CODEPAGE                  = SPACE
    *    IGNORE_CERR               = ABAP_TRUE
    *    REPLACEMENT               = '#'
    *    WRITE_BOM                 = SPACE
    *    TRUNC_TRAILING_BLANKS_EOL = 'X'
    *  IMPORTING
    *    FILELENGTH                =
      changing
        data_tab                  =
    *  EXCEPTIONS
    *    FILE_WRITE_ERROR          = 1
    *    NO_BATCH                  = 2
    *    GUI_REFUSE_FILETRANSFER   = 3
    *    INVALID_TYPE              = 4
    *    NO_AUTHORITY              = 5
    *    UNKNOWN_ERROR             = 6
    *    HEADER_NOT_ALLOWED        = 7
    *    SEPARATOR_NOT_ALLOWED     = 8
    *    FILESIZE_NOT_ALLOWED      = 9
    *    HEADER_TOO_LONG           = 10
    *    DP_ERROR_CREATE           = 11
    *    DP_ERROR_SEND             = 12
    *    DP_ERROR_WRITE            = 13
    *    UNKNOWN_DP_ERROR          = 14
    *    ACCESS_DENIED             = 15
    *    DP_OUT_OF_MEMORY          = 16
    *    DISK_FULL                 = 17
    *    DP_TIMEOUT                = 18
    *    FILE_NOT_FOUND            = 19
    *    DATAPROVIDER_EXCEPTION    = 20
    *    CONTROL_FLUSH_ERROR       = 21
    *    NOT_SUPPORTED_BY_GUI      = 22
    *    ERROR_NO_GUI              = 23
    *    others                    = 24

  • How to retrieve all the data from a BLOB using view-generated accessor

    I am using JDeveveloper 10g v. 10.1.3 and am storing an image in a database as a blob object and need to retrieve all of the data to get the entire image and store it in an ImageIcon. The code I have works partially in that it retrieves the correct data, but only gets a piece of it, leaving me with a partial image.
    AppModuleImpl am;
    ImageVwViewImpl vo;
    am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
    vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
    ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();
    ImageIcon icon = new ImageIcon(ivo.getImage().getBytes(1, (int)ivo.getImage().getBufferSize()));
    jULabel1.setIcon(icon);I either need to know how to use a stream to get the data out (from BlobDomain method getBinaryStream()), or how to get the other chunks of data separately.
    edit: I know the problem is that getBufferSize() returns an int which is too small to hold all the data, but need to know what to use instead. Thanks!

    This is the code I'm using now. Same problem :(
    AppModuleImpl am;
            ImageVwViewImpl vo;
            am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
            vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
            ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();  
            ImageIcon icon = new ImageIcon(ivo.getImage().toByteArray());
            jULabel1.setIcon(icon);

  • How can I set the date of my PC using Java?

    Which class has the function to set system date and time.
    Thanks in advance.

    but the following sentence
    Process p=Runtime.getRuntime().exec("date
    11-03-2002");
    always throw IOExecption error
    java.io.IOException: CreatePreocess:date 11-03-2002
    error=0
    and why?
    How to settle it?
    'date' is an internal command which means you need a shell to run it. Depending on the OS this will either be 'cmd' or 'command'. If you search the forums with the following keywords you will find examples on how to use this: "exec", "Runtime", "cmd" or "command"

  • How to specifically sort the data in a database using c#?

    H!,
    I have a problem in c# that require sorting of names of students in a sql database and i want it to be specific, i used data grid view to view the data of the students as shown below:
    Students First Name:
    Ann
    Antoinette
    Brenda
    Judith
    Lester
    Santos
    Suzie
    Tim
    if i type in a letter or abbreviation @ a textbox1 for example "s", all Names that starts with letter s will be sorted first so the output now of the query will become:
    Students First Name:
    Santos
    Suzie
    Ann
    Antoinette
    Brenda
    Judith
    Lester
    Tim
    So if i type j, all that starts with j will be first, and so on.
    I need help for this problem coz it is so hard for me to output the students with this kind of sorting and is there a code or query string related to this problem?
    thanks in advance.
    Hardz

    Hi,
    One way is to write a query as shown below:
    declare @char nvarchar(1)
    select @char = 'S'
    Declare @t table(name nvarchar(max))
    insert into @t
    values
    ('Santos'),
    ('Suzie'),
    ('Ann'),
    ('Antoinette'),
    ('Brenda'),
    ('Judith'),
    ('Lester'),
    ('Tim')
    select name
    from @t
    where RIGHT(name,1) like @char
    union all
    select name
    from
    (select top 100 percent name
    from @t
    where RIGHT(name,1) not like @char
    order by name) a
    Hope this helps. 
    -Chintak

  • Encrypt the data and make the model unusable

    hi, having to distribute the 3d animations made ​​with sap, I would like to be sure that the data contained in the CAD models exported (. rh. vds pdf 3d) can not be used to reconstruct the model. How can I encrypt the data and make the model unusable?
    thanks

    Max,
    There are other forms of file-based protection offered for mobile devices (SAP Afaria) and by other software vendors to secure the end deliverable (e.g. Adobe for 3D PDFs).   In addition, SAP's partner NextLabs offers a very comprehensive solution to automate the security of your sensitive information and even provide expiration dating.
    In addition to file protection, 3D Visual Enterprise includes a function to obfuscate the geometry itself thereby making reverse engineering almost impossible.   The "Randomize Objects" function can be used to randomly skew the vertices of the model by small amounts.  It keeps the normals correct, however, so that the object still looks smooth. This in turn makes precise measurements extremely difficult.
    Regards,
    Ken

  • How to encrypt the data in a form?

    Hi, everyone!
    I want to encrypted the data in a html form
    sent to a JSP/Servlet (using POST method).
    For example, password.
    How to do it? Are there some sample codes or
    guides?
    Cheers,
    George

    About the only way you could accomplish this completely on the client side is with JavaScript. But, that wouldn't be very secure as your encryption code would be publicly visible. If you want the data encrypted before it's sent to the server, you need to use SSL and the HTTPS protocol.

  • How do I encrypt a data file so that only I can retrieve the info?

    How do I encrypt a data file so that it cannot be read without the proper authority?  
    I have an application where the customer should not have access to the data I need to record for troubleshooting purposes.  (there are industrial secrets I wish to protect)  My plan is to record a datalog (currently I am producing a tab-delimited spreadsheet format) whenever the device is running and hide the files where they will probably not be found.  But some sort of encryption or at least password protection would be better.  
    I've never tried to do this before, but thought it would be fairly easy.  Maybe I'm just not looking in the right places.  
    Thanks
    Solved!
    Go to Solution.

    Well, you could look into something like DES, Triple DES, AES, etc.  There are libries floating around for these written in LabVIEW.  I'm not sure about the cost though.
    If you want a really simple way to protect your data, just invert all or some of the bits in each byte of your file.  It is super simple and turns a nice ASCII text file into noise when read from a text file.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can i save the data from the Oracle database to my local directory

    How can i save the data from the Oracle database to my local directory instead Of saving the data file to the Directory created on the Oracle Server ?
    I require to design the Procedure which will pull the data from various tables and needs to store the data in the Client's local directory.

    Since SQL*PLUS runs on the client, you can use SQL*PLUS to spool data to your local drive.
    You could also use the database to write a a specified drive where all users have access to (mapped network drive, e.g.). I wouldn't recommend doing it that way, but it is sometimes useful when the files are created in some nightly batch run.

  • How can I check the date of purchase for my MacBook Pro?

    I need to fill out a claim in order to get OS X Mountain Lion and I need the date of purchase. I have tried putting in the serial code under check your service and support coverage but it just gave me a vague statement thatit was purchased mid 2012. Could someone please tell me how I can check the date of purchase?

    Well, correction, just checked mine...
    Tells you exipry date of warranty, simply take 1 year off of this or 3 if you have AppleCare.
    There is your purchase date.

  • How we will pull the data from Sap-Bi to sap-Bpc

    Dear Experts,
    Thanks for watching this thread.The whole data is available in SAP-BI.
    My system environment is SAP-BPC MS7.5.
    Now i want to load the data from Sap-Bi to Sap-Bpc ms.For that we need any Interfaces.
    How we will pull the data from SAP-BI to BPC-MS for Master data and Transaction Data.
    could  you please provide me step by step guide.
    Please guide me what should i do.
    Regards,
    Srinivasan.
    Edited by: srinivasan.singari on Jul 22, 2011 8:20 AM

    Tough Ask..
    Because i have done dashboarding thru scritping (Dyanamic fashion tough) ..It is very good ..But when, coming to the one you asked i have the idea how it works but cannot really tell you wich would be better.
    Each Route has its own limitations.That really depends on what exaclty your client is looking after..
    So if you new to xcelsius and eager to learn ..I suggest you to give a go at all those..May be you can let me know wich is the best one..
    1. QAWS,
    2. Bex Query --> Crystal Reports --> Live office --> DashBoard.
    3. Bex Query --> WebI --> Live Office --> Dashboard..
    4. Webservices consuming BI Query,
    5. Xcelsius SAP Netwever Connector.
    But i suggest as of now use Xcelsius SAP netweaver Connnection...

  • How can I copy the date and time in Mail header?

    How can I copy the date and time in Mail header?
    I can copy everything else in the header for pasting in another application. 
    But not the date and time which is absolutely vital.
    It was ok in 10.6 

    I suppose you could copy it from the Raw Source. View>Message>Raw Source

  • How could you map the Records of OM- PA

    Hello Experts,
    How could you map the Records of OM->PA ,if the designation of person changes from manager to supervisor from certain date.and how can we see the changed records??
    Solution :we can see the changes in the addition action infotype 302,personel hiring action(0000) delimit the record whenerver we changes the designation,and in the orgassingment infotype overview ,action infotype over view we can see the changes and PLOGI-ORGA IS the integration switch and position is the key for map the recoed from OM ->PA
    Post your comments if the solution is correct???
    Regards
    Chandra

    Thanks  a Lot!!!!
    Regards
    Chandra

  • How could I find specified date of REDO log and archive REDO log ?

    we use Oracle11gr2 on win2008R2.
    1
    How could I find specified date of REDO log(2013/10/17,etc) and archive REDO log ?
    2
    What is the format of archive REDO log.? (zipped file ?)

    user12075536123 wrote:
    1)
    select * from v$archived_log;
    select * from v$log_history;
    but there is a possibility there is no old data
    below contains no filename column
    SQL> desc v$log_history
    Name                                      Null?    Type
    RECID                                              NUMBER
    STAMP                                              NUMBER
    THREAD#                                            NUMBER
    SEQUENCE#                                          NUMBER
    FIRST_CHANGE#                                      NUMBER
    FIRST_TIME                                         DATE
    NEXT_CHANGE#                                       NUMBER
    RESETLOGS_CHANGE#                                  NUMBER
    RESETLOGS_TIME                                     DATE
    there is NO data when archive mode is disabled

  • Displaying metadata, how to display ONLY the Date

    I would like to display the Date below each image in Aperture 3. When I select "Date" in the Browser & Viewer Metadata window, the result is a very long string with the Date, the Time and the Time Zone. meaning that most of the time I see nothing because the string is much too long to be displayed...
    How to display ONLY the Date ?
    Thank you.
    Olivier

    om28 wrote:
    I will do that but still... if the Date could be ONLY the Date "without time and time zone", I would be able to display more information.. and it will look nicer.
    I said at the top of my first response above: +Afaik, there is no way within Aperture to change the date format of the date metadata overlay.+
    Send Aperture feedback to Apple via "Aperture→Provide Aperture Feedback"
    In the past I used Expression Media and the config for displaying such info was better.
    Aperture has a strange interface for it (and for other parameters), it does not behave at all like an Apple software (for the GUI), probably an external development team... but I agree it is more complex than iPhoto.
    Aperture is 10x more complex than iPhoto.
    If you want to see a rigid, boxed, "engineer"-style image database interface, take a look at Lightroom 3. It's a great program -- but it's a very different concept of information presentation and interaction.
    Thanks again.

Maybe you are looking for

  • Bug?: layers.add() is not working properly when invoked from menu (ID/CS6/Win7)

    Hello Devs, I am facing a mysterious issue with the layers.add() method. I am trying to create n number of layers for my document. So I have decided to create a menu for this. I have creatd two scripts 1. For creating menu & menu action, 2. Actual sc

  • Itunes cant communicate with Ipod

    I bought a new computer, a Toshiba A505 with Windows 7 and downloaded the 64 bit version of Itunes 9.0.3, when I open Itunes, I get a message box that says "the software required to communicate with the Ipod is not installed correctly. Please reinsta

  • The window to select dimensions simply does not appear and I can't move forward, due to variables exit in the report

    Dear experts, I am having an issue when I try to create a WEBI document using Bex query through OLAP connection (Bics). Due to variables exit, it is not possible to open query pannel in webi to choose wich dimensions to add to the webi document. The

  • Exporting as a quicktime file problems

    Hi, I am using Premiere Pro 2.0 I have a 16:9 project, and have 16:9 footage, when I save as a .avi it plays in widescreen The project I am doing requires a .mov file, with h.264 compression. Whenever I do this, the file ends up playing in quicktime

  • Reg dynamic instance

    hi guys, what ever you guys told is correct but in the create object the instance name of which type. CREATE OBJECT L_INST_ASY_CALL TYPE (LV_CONTROL). data: L_INST_ASY_CALL type <?>. reg, hari