How to make a key out of this data?

Since no one replied to my last post, I'll give it another try. From an RTSP server I get two values, a key called rsaaeskey (342 bytes, without the line breaks):
  yxKBocBgTii20n9nbKfYGyGhPqtosXuq8M99yU5/PzTVNmIUsUGlpD27u
  cqN8eNFvmaO7cFVXeaMGaCfI5V+YNrd77xGQ+CUE0XFraXUvp4cF4aX1L
  ZOGe38nwX3Ba+4bQFfjmYgz3ObRuOWlw9KCi4CMP5574F+CIvutVAwtAC
  PiDFF7nVcoaBTr2QbSUile0Zs3Hyxjn9PWVaey9Nu2DgJZ8rtw6F2SkQ7
  NDHBjjUKXNIeCAeBFuV4XNiazvi3gWa4VbgITtD9jcm+7nPMAK0oBL1S3
  K3Z6FK7XVnfehYYJjRw7THMZzSvq7FtLB9QgulqQTJ3awJdwS0ACb1FkAand an initialization vector called aesiv (22 bytes):
  zcZmAZtqh7uGcEwPXk0QeAThe data is obviously Base64 encoded. However, after decoding I don't know how to make a key out of it. Trying KeyFactory's generatePublic and generatePrivate methods result in an InvalidKeySpecException with any algorithm I've tried (RSA, DSA, DH).
I think this is a multi-prime RAS secret key (someone said they're 342 bytes long), but how do I generate a Java Key out of it?

The rsaaeskey, decoded to binary, is a binary array of 256 bytes. Using the DUMPASN1 tool we see that the bytes are not in ASN.1 BER or DER encoding.
C> openssl enc -base64 -d -in rsaaeskey.base64 -out test.bin
C> dumpasn1 rsaaeskey.bin
   0 CB   18: [PRIVATE 11]
            :   81 A1 C0 60 4E 28 B6 D2 7F 67 6C A7 D8 1B 21 A1
            :   3E ABIf it were encoded in ASN.1 BER or DER encoding it will start as a "SEQUENCE" or a "SET", not as an unrecognized data.
You need to check the exact specification of the protocol. (Are you using TSP - RFC 3161, or RTSP - RFC 2326?)

Similar Messages

  • How to make a snapshot out of a movie file?

    How to make a snapshot out of a movie file and integrate this snapshot into the movie? Thanks, Wolfgang

    Either you use the Hold function from the Retiming popup or you export an image and reimport it.

  • How to make ENTER key in internet explorer run the  BIP report?

    In BI publisher 11g, users wanted that after entering the values for the parameter, they hit the ENTER key ( on the keyboard)  and the report should run .
    In Mozilla firefox, when I hit ENTER key on the keyboard report runs fine... but in Internet explorer, it does not ( infact in internet explorer TAB key works)
    How to make ENTER key in internet explorer run the report?
    Thanks
    Ashish

    Perform the following steps and tell us if it  resolve this issue:
    1. In Internet Explorer, click Tools, and then click Internet Options.
    2. Click the Security tab.
    3. There are four security zones listed:
    * Internet
    * Local intranet
    * Trusted sites
    * Restricted sites
    Click the zone being used by P6, which is noted at the bottom right hand corner of the browser window when the P6 URL is being accessed.
    4. Under Security level for this zone, click Custom Level.
    5. Under Downloads, under Automatic prompting for file downloads, click Enable, and then click OK two times.
    6. The browser will need to be restarted for the change to take effect.
    Refer to the following Microsoft Knowledge base article for additional file download and active x controls which should also be enabled: http://support.microsoft.com/kb/883255

  • My iPod touch is in recovery mode, how do I get it out of this?

    My daughter's iPod touch is in recovery mode (we know this by the code it gives us when she plugs it in to the computer), how do we get it out of this?  We have tried resetting by holding down the on/off button and the other button on the bottom front of the iPod for 30 seconds to a minute and nothing happens.

    Two ways to get the iPod Touch out of recovery mode.
    From iTunes click "Restore" this will download the latest iOS for your iPod Touch and install it.
    Second way is to press and hold both the home button and the sleep button for around ten seconds and release them when the Apple logo shows on the screen.

  • Scrolling sidebar- can I make a template out of this?

    scrolling sidebar- can I make a template out of this?

    That's not possible (although a good idea). You can copy/paste a sidebar widget, though. So, create your base widget which will serve as your template, and then you can copy/paste it when needed throughout your iBook.

  • My 3gs wont restore after ios 5 update. I have tried firmware restore and restore from backup, neither works. All I get is "iphone restore failed because backup session failed" Any ideas on how to make a successful restore with this ios 5 update?

    My 3gs wont restore after ios 5 update. I have tried firmware restore and restore from backup, neither works. All I get is "iphone restore failed because backup session failed" Any ideas on how to make a successful restore with this ios 5 update?

    I was having the same problem, I backed up my phone and then updated to iOS 5 and then it kept telling me it could not restore from my backup as it had failed.  After reading a bunch of forums and posts and trying everything, I did manage to get it to work.  I had tried the Time zone, creating a new computer user account, disabling anti-virus, etc.
    It took a combination of things, one of which was disabling the anti-virus completely and copying the contents of the backup folder to my desktop and then deleting everything in the backup folder.  Then I rebooted the PC, entirely disabled the anti-virus, copied the one backup I wanted to restore from the desktop to the backup folder and then trying to restore.  Low and behold the phone said restoring from backup and I am back in business, so when in doubt, trying combining some of the fixes together.

  • My Iphone is deactivate, I have photos with out back up, How can I open with out loosing my data.

    My Iphone is deactivate, I have photos with out back up, How can I open with out loosing my data.

    Aussienana wrote:
    OK, so I went and explored  what this site said about Mackeeper. But before I delete it can you tell me:
    If we don't need anti virus program and if the one that came with the machine is supposed to do the job then what does that say about the viruses that Mackeeper says it found? Were they not there and the program made them up? Or were they there and Apple didn't deal with them?
    Thanks for all feedback.
    They were not there and MacKeeper made them up. Delete it completely. I have seen it cripple people's Macs.
    Uninstall MacKeeper
    Pete

  • How to make a list item field with DATE data type?

    I have a column with DATE data type. Using forms 6i I want to generate a poplist list item field with this column while the value of the elements in the list to will be day names like SATURDAY,SUNDAY,MONDAY. if we change the data type from date to char, it will work properly but now with DATE data type behind it, it gives the following error message
    "FRM-32082: Invalid value for given item type.
    List WEEKREST
    Item: WEEKREST
    Block: EMPRESTS
    Form: MODULE3
    FRM-30085: Unable to adjust form for output."
    Using forms 6i how to make a list item field with DATE data type which can hold day names?

    Set your date column as a hidden (non-displayed) field. Create your list item with the varchar2 day names. Create the list item as a non-base-table field that accepts the text values of day names. On that field, create a when-validate-item trigger that translates the text into a real date, which it then uses to set the value of the actual base-table item.

  • How to make changes in company code global data

    Hi folks,
    Can some one suggest me how to make changes in company code global data (t code oby6). I want to assign 1 to co code > co Area which is blank.
    Thanks in advance

    Hi,
      actually if you want to change co code > co Area , it is under controlling (maintain controlling area), transaction code  OX06 .You change the assignment control and save it. It is automatic update you COmpany code global data.
    *give me a point if my answer solve your problem.
    Thank You.
    -akma-

  • 1. How to view my work full screen? 2. How to make "F" keys behave proper?

    Hello All,
    Two softball questions for FCP batting practice:
    1. Somewhere along the way, I came across an explanation on how to make my canvas full screen. I found a post mentioning View, External Video, and something about cinema (not in front of it right now). I don't have an external monitor, so how can I accomlish this on my laptop?
    2. Speaking of laptops, many of the "F" keys don't work as described in the manual. For example, F12 brings up a dashboard with weather in Cupertino, CA. Not exaclty conducive to my workflow. Is there a place to tell the MacBook Pro that when operating this application, default to the "F" commands within the software?
    Thanks All.
    DG

    Hey Steve,
    Point well taken. In the past week, I purchased a camera, Final Cut, MacPro, Mic, Lights, Tripod, etc. I have purchased two books that were recommended on this site (both excellent), and a CD tutorial. I have been out shooting every day, doing tutorials and editing (to the best of my ability) every night. All of that being said, it's a tremendous amount of information, and some of the finer points get lost. I am pleased to say that I have completed my first piece on hunger experienced by seniors in our community. Very gratifying.
    So, I fully appreciate the apparent laziness inferred from my post, but trust me, I'm fully engaged, just overwhelmed.
    Shane, thanks for "pinch hitting". Both solutions worked.
    DG

  • How to make modifier keys lockable? (like Caps Lock for Ctrl or Alt)

    Playing around with the non-modal text editor ne, I found myself wondering if one could simulate a modal interface (like vim has) by having something like "Ctrl Lock" or "Alt Lock" (analogous to Caps Lock) and thus a "ctrl mode"/"alt mode". I would like to try this, but I am not sure how to make it happen.
    My best guess is that this could be accomplished via XKB, but its documentation looks pretty intimidating. Is anyone here proficient in XKB and could point me in the right direction?
    Other ideas:
    – Is this something that a terminal emulator could do? Is there already one that can do it?
    – Or a shell?
    – For console applications, would it be possible to have a small wrapper that did nothing but intercept keyboard input and just pass everything through to the wrapped process, except that it would take into account the desired lockable modifier key? (I am thinking of tput here, but from my first search it appears that it doesn't do this sort of thing.)

    @Trilby: Thank you for the elaborate input!
    @drcouzelis: "sticky keys" normally means that modifiers remain active only until the next keypress, while I want a way to lock them in active state for an arbitrary number of keypresses. But still, "sticky keys" was a worthwile input for the search engine.
    The program xkbset, which can be used to set XKB options on the fly, has a function that comes very close to what I desire:
    $ xkbset h
    Usage: To set or unset various options:
    xkbset <options>
    where <options> may be all or any of (the '-' switches the feature off,
    otherwise it is switched on):
    To switch sticky keys on or off, and optionally set or reset:
    () two keys pressed at the same time stops sticky keys;
    () a modifier pressed twice will be locked:
    [-]{sticky|st} [[-]twokey|[-]latchlock]...
    I cannot select specific modiers to be affected with xkbset, but that would be fine with me. Sadly, it didn't completely work for me:
    – It doesn't affect Alt at all for me.
    – The effect seems to go away as soon as I change the window. (Maybe I need to invoke xkbset from .xinitrc for its effects to persist throughout the session? I will try that.)
    So I went on and tried to configure XKB manually. I got up to a certain point without studying the documentation in-depth, but now I have landed on an error message that seems to suggest to me that I would have to get to a better understanding about the layout files before I could understand it. Here is what I did:
    1. Got my current XKB configuration:
    xkbcomp :0 output.xkb
    2. Editet output.xkb to include the following at the end of the xkb_compatibility section:
    //Hoping this makes the ^-key into a Ctrl-Lock key:
    interpret TLDE {
    action= LockMods(modifiers=Control);
    3. Then I recompiled the configuration back into the running X server:
    $ xkbcomp out.xkb :0
    Warning: Compat map for group 2 redefined
    Using new definition
    Warning: Compat map for group 3 redefined
    Using new definition
    Warning: Compat map for group 4 redefined
    Using new definition
    Error: Couldn't lookup keysym
    Symbol interpretation ignored
    Warning: No symbols defined for <AB11> (keycode 97)
    Warning: No symbols defined for <JPCM> (keycode 103)
    Warning: No symbols defined for <I120> (keycode 120)
    Warning: No symbols defined for <AE13> (keycode 132)
    Warning: No symbols defined for <I149> (keycode 149)
    Warning: No symbols defined for <I154> (keycode 154)
    Warning: No symbols defined for <I168> (keycode 168)
    Warning: No symbols defined for <I178> (keycode 178)
    Warning: No symbols defined for <I183> (keycode 183)
    Warning: No symbols defined for <I184> (keycode 184)
    Warning: No symbols defined for <FK19> (keycode 197)
    Warning: No symbols defined for <FK24> (keycode 202)
    Warning: No symbols defined for <I217> (keycode 217)
    Warning: No symbols defined for <I219> (keycode 219)
    Warning: No symbols defined for <I221> (keycode 221)
    Warning: No symbols defined for <I222> (keycode 222)
    Warning: No symbols defined for <I230> (keycode 230)
    Warning: No symbols defined for <I247> (keycode 247)
    Warning: No symbols defined for <I248> (keycode 248)
    Warning: No symbols defined for <I249> (keycode 249)
    Warning: No symbols defined for <I250> (keycode 250)
    Warning: No symbols defined for <I251> (keycode 251)
    Warning: No symbols defined for <I252> (keycode 252)
    Warning: No symbols defined for <I253> (keycode 253)
    The "Error" part is where I am currently stuck. It tells me that my changes were ignored (I no that it's about them because it goes away when I comment them out), but I don't yet understand why.

  • How to make a stationery out of .doc or .docx file?

    Hi,
    I stumbled upon a website that has some nice stationery, in .doc format. and since there few free pre made stationery available for Mail.app, at least to my knowledge, because I think I almost downloaded every free stationery available out there that could be easily found via Google. I decided to download some of these .doc stationeries and try to put them in Mail.app, but first I had to convert them into .html format. so here is what I've already tried and did not work:
    first I tried opening them in TextEdit, which supports .doc out of the box, only to find out that the pictures in the documents are gone to thin air. I tried saving it and then opening it with something else like Open Office, but the pictures were permanently gone.
    then I tried opening the original documents directly in Open Office, you guessed right If you said they will look screwed, and they were, and tried to save them as html, they were screwed even more.
    so I did a bit of research and found out that I could use Google Docs in order to convert the documents, I uploaded them into my Google docs and then tried to open them with it, but found it that Google docs can't handle the pictures (specially background pictures) either. as a result I did more searching to find a document converter and here is what I found:
    I found a few online service to convert these documents:
    http://www.freefileconvert.com/ was pretty good to convert the files into an .odt format. at first I thought yes I got the solution, now I can simply convert it to html using Open Office, but unfortunately, when I saved the document in html format and checked it in Safari to see how does it look, as If I would have done the same in MS Office with the original format, it looked pretty much screwed .
    So I continued to look and I found a few other online services one of them asked me to pay a fee, I skipped to the other one which was http://docx-converter.com/. unfortunately the website wasn't functioning properly I think, at least for me (maybe someone out there has succeeded using it, I don't know.) and it didn't send me anything.
    Finally I found http://www.zamzar.com/ that could convert .doc or .docx documents into html, or at least that is what it claims to do so, I tried it, and after I received the file via email, I found out it only contains a bmp image of the document's background. So much for the online conversion services!
    But I decided I would give it a last shot using MS Office online, so I opened up my old Windows Live mail and went into my Skydrive, I uploaded the documents and tried saving it as html, but there were no save as html (after all an online copy of MS Office should have some limitations, otherwise few people will be willing to buy a Desktop version) but this didn't made me disappointed, since I already knew, that Neither Office Word can make a clear conversion, so I tried something different, while I was in Safari looking at the document in online MS office, I saved the page as Web Archives, then I opened the file with TextEdit, and after deleting useless links and pictures, I finally managed to get a clear document with everything that supposed to be in it. At this point I only need to know how to make use of this document to create a stationery with this raw file which is in Web Archive format. any ideas?
    null

    I'm a total idiot! How did I overlook http://www.zamzar.com/ functions? I think I might have mistakenly chosen convert to BMP instead of html. I tried it and the result was very good.
    OK I finally found a good solution for this problem, so everyone out there that has the same problem, here is what I did:
    1. OK if you have some .doc and .docx file formats and you want to convert them into something like .html or .odt, without having to reedit the code or getting a screwed document, use http://www.freefileconvert.com/ in order to convert them into .odt so they would look as they do in MS office just go to the website and upload your documents then choose .odt, then click convert, after a few moments you will get a link to download your .odt files. you can use and play around with your document in Open Office, I have tested it and it's really good.
    2. Or if you want to convert them into .html with a clean code, and all the elements in it, simply go to http://www.zamzar.com/ and then ulpoad your documents, choose .html and enter your email address, you will have your .html files zipped and sent right in your inbox, then you could use Kompozer like me, or any other html editor, to make a template out of it. I tried it and the result was nice, now I have a bunch of nice html files that I can use to make templates and email stationery.

  • How to make a clipping mask in this particular case?

    Okay, Just to begin I know how to make a clipping mask, but for the case that I'm going to present right now I just can't figure out what mistake I am doing (if any). However I am a beginner.
    http://vector.tutsplus.com/tutorials/illustration/how-to-create-a-medieval-paper-scroll/
    In the link to above tutorial on how to make a medieval scrol I'm stuck at step 25 and would be glad to anyone who helped.
    As said in step 25 that expand the appearance of the scroll and select the two then clip the mask. In th above picture I have just selected the scroll to show how it looks.
    Now as you can see in the image below I have expanded the appearance of the paper scroll. Then I selected the paper scrol and the yellowish green grunge background placed below it. And the moment I hit Ctrl+7 (in windows) or Command+7 (in Mac) to make a clipping mask the error that showed up has been highlighted.
    One more thing, I have clipped masks before too in the same tutorial given above but I don't know what has gone wrong for me in this step.
    Please help.
    Signed,
    Awais Rauf

    Why would you want a clipping mask? I don’t see a reason for it.
    However, for what you want I would use the Pathfinder panel to combine all the paths into one shape. First use the ungroup and release compound commands a few times each, to make sure you have nothing grouped. Then press the top left button in the Pathfinder p[panel. This should produce one closed path that just surrounds the scroll.

  • How to make a 2nd player in this racing game.

    I'm using this tutorial to learn how to make games in Flash for a class, but it doesn't say how to make a 2nd player.
    If somebody can show me the code to make alternative controls (W,S,A,D) for a 2nd car that'd be fantastic!
    Thanks a lot,
    Dd
    http://www.emanueleferonato.com/2007/05/15/create-a-flash-racing-game-tutorial/

    if (_root["car"+who].code == "player") {           
    if (Key.isDown(Key.DOWN)) {
                   this["speed"+who] -= _root.backSpeed;
              //steer left - well, we could simply add or subtract a fixed angle (in degrees) to/from the car's rotation, but that's not good enough. In order to simulate a natural movement, steering must depend on speed, otherwise you will be able to rotate your car even if it's almost stopped and it will look like a propeller
              if (Key.isDown(Key.LEFT) && this["speed"+who]>0.3) {
                   _root["car"+who]._rotation -= _root.rotationStep*(this["speed"+who]/_root.maxSpeed);
              //steer right - you already know what happens here
              if (Key.isDown(Key.RIGHT) && this["speed"+who]>0.3) {
                   _root["car"+who]._rotation += _root.rotationStep*(this["speed"+who]/_root.maxSpeed);
    You basically have to make a second conditional clause that starts:
    if (_root["car"+who].code == "player2") {           
    if (Key.isDown(/*Insert KeyCodeValue of the Key you want to use*/)) {....
    The AS2 keycodes can be found here:
    http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001136.html

  • How to make a key field manadatory, in a Z-Table (SE11)

    Hi,
    I've created a Z-table is se11 and one of the key fields is IWERK. Now the user does not want this field to be blank when they enter data into the table via SM30.
    Does anyone know how to make this field so that a blank entry is not acceptable.
    Many Thanks!

    Hi Robert!
    One way would be to adjust SM30 to a mandatory field (in SE11 of course), but this field sounds like you can assign T001W as a check table. In the foreign key definition, you can give a error message, which is called in case of wrong entries in screens -> there is no empty entry in T001W, you can only maintain valid values and got a value list.
    Regards,
    Christian
    P.S.: No, you need to change SE11->Table maintenance generator->Enviroment->Modification->Maintenance Screens->Element list->Tab Special attr. column Input. Set 'required'. Otherwise empty is still allowed
    Message was edited by: Christian Wohlfahrt

Maybe you are looking for

  • WS-Security and proxy service: Unable to add security token for identity

    What the reason of "Unable to add security token for identity" fault in this situation (10.3.1): I did simple "hello word" proxy service and tried to apply custom policy binding. WS-Policy is next: <wsp:Policy wsu:Id="WS-Policy-Siebel"      xmlns:sp=

  • Clip in end titles

    Hi, I'm working on a project and I'm just on the end titles. I'd like to create a end titles with funny out takes from the set. Is it possible to place several clips into the end titles? (black background with end titles on the left hand, out takes o

  • LaserJet 3390 Manual TCP/Ip config

    I have a trouble I write the IP adress manually, but it is do not saved

  • MVP List #50 (June 12th through 18th)

    The Verizon Community Forums Most Valuable Posting List is where we recognize great work and words happening every day right here on our community. We know the success as a community is based on the continual and lively contributions of our valued me

  • IMac G5 problem...Need help

    This is my first time posting to the IMac G5 discussions, and I hope someone here can really help. Something weird is happening to my computer when it is being turned on. Nothing on the screen is displayed, and there is a constant beeping sound. Plus