Help! Question on JSR 177 CMSMessageSignatureService

Hello,
I am looking into JSR 177 CMSMessageSignatureService API and trying to see if we can implement/use the sign() for our project.
By looking at the javadocs for CMSMessageSignatureService, it says:
This class supports signature messages that conform to the Cryptographic Message Syntax (CMS) format as specified in RFC 2630
By looking at sign() API, it seems to me that the API assumes the �stringToSign� is always the content itself. Is my assumption correct? If so,
then in our project, we are having a case where the data we are trying to sign is not the content, i.e. it is the list of attributes (i.e. signedAttrs of the SignerInfos, described in section 5.3 of CMS RFC 2630) and so I am trying to understand how to also pass content that we want to be included as part of generated CMS signed data. In other words, how would a client of CMSMessageSignatureService pass the content to sign() if �stringToSign� is not the same as content?
I looked at sample codes in CMSMessageSignatureService javadocs as well as other Sun examples (e.g. MohairMidlet.java) but they all seem to suggest the string being signed is data, but this is not always the case when dealing with CMS signedAttrs, etc. in RFC 2630.
I would appreciate for any advice or suggestion you have on this.
Thanks in advance,
P.S. I sent this email to [email protected] and JSR 177 Spec lead but did not receive any repsone.

AID is the identification of your javacard applet. So it must exists the applet on card communicating with j2me midlet

Similar Messages

  • TS1815 Subject: What Mountain Bike help  I can't download my magazine, what mountain bike skills issue. I've followed the advise on the help questions but still can't view the magazine. Delete, re install etc.

    Subject: What Mountain Bike help
    I can't download my magazine, what mountain bike skills issue. I've followed the advise on the help questions but still can't view the magazine. Delete, re install etc.
    Thanks Malcolm

    said article below....
    HT1747: iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier
    Learn about iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier

  • Map.xml and context-sensitive help question

    We're changing the tools we use to generate JavaHelp from RoboHelp to WebWorks.
    RoboHelp's output always includes a file named map.xml. WebWorks doesn't include this file.
    My understanding is that map.xml is what applications use to find the correct context-sensitive topic. Is that right? Will the app be able to find context-sensitive files without it?
    Stan Stansbury

    There are a couple of posts about masterdata.xml that seem to indicate it's not a problem. See if either of these help.
    Context Sensitive Help Question
    MasterData.xml
    For the 'main portal page' bit - maybe the developer wants to know the Start Page of the project, rather than the Default Topic? I'm not very familiar with CSH and webhelp, so I'm uncertain of the details the developer needs, but I wouldn't think you'd have to change anything as long as they have all the necessary details.
    Amber

  • Before your Firefox Help question (Why is it that text is transposed over text when viewing certain websites. I'm running win 7 and the latest version of FF.)

    Before your Firefox Help question (Why is it that text is transposed over text when viewing certain websites. I'm running win 7 and the latest version of FF.)

    If you have increased the minimum font size then try the default setting "none" as a (too) high value can cause issues.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    *https://support.mozilla.org/kb/Changing+fonts+and+colors
    It is better not to increase the minimum font size, but use an extension to set the default page zoom to prevent issues with overlapping text.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • Help question confirmation failing

    I'm trying to confirm re: my firefox help question... The link given me is
    https://support.mozilla.com/en-US/users/activate/e4259040a179f9f3eb2904a5673a8309b88e860c
    and I'm getting "something is wrong" messages.

    Your previous question is here.
    https://support.mozilla.com/en-US/questions/848877

  • Urgent - help question on sending http instead of https

    I'm trying to dump out my http wrapper: I'm trying to set send http instead of https so I can dump the wrapper.
    currently my code does the following for https determination. i read from a configuratioin file to see if i should set https or http
    question) Do i need an else section to cover non https?
    If so, what do i need to set for http properties.
    // check if https is wanted
    // yes - send https
    String useHttps = cf.get("useHttps", "true");
    if (useHttps.equals("true")) {
    logger.debug(classMethod + "https mode=" + useHttps);
    System.setProperty(
    "java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    // make provider and/or protocol configurable?
    Security.addProvider(
    new com.sun.net.ssl.internal.ssl.Provider());
    }

    resolved - don't need help anymore on it

  • Help question re: Image formatting

    Quick question, possibly very newbie'ish for most, but quite
    frustrating for me.
    I am working with the trial version of Dreamweaver, and I'm
    trying to figure out how to format a picture to do something aking
    to the "Send behind text" in Microsoft Word, trying to take a bunch
    of pictures, and place them in the background, behind the tables
    I'm using to build the webpage.
    If it is possible for Dreamweaver, I have not been able to
    find it in the help topics. Any ideas are appreciated. Thanks a
    lot!
    Colin

    Specify the image as the background image of the table or
    table cell you are
    working on. Use the Property inspector for this. Or use CSS
    for it.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "ColinPerformancePlus" <[email protected]>
    wrote in message
    news:f4p827$gnl$[email protected]..
    > Quick question, possibly very newbie'ish for most, but
    quite frustrating
    > for me.
    >
    > I am working with the trial version of Dreamweaver, and
    I'm trying to
    > figure
    > out how to format a picture to do something aking to the
    "Send behind
    > text" in
    > Microsoft Word, trying to take a bunch of pictures, and
    place them in the
    > background, behind the tables I'm using to build the
    webpage.
    >
    > If it is possible for Dreamweaver, I have not been able
    to find it in the
    > help
    > topics. Any ideas are appreciated. Thanks a lot!
    >
    > Colin
    >

  • Need QT help/ questions

    I've been using macs for a while, but need some help with qt7pro. These are really basic questions I'm sure, but I haven't used QT in a long time, other than watching a trailer or clicking on something a friend has sent.
    Whenever I try to open a QT mov, or doc, iTunes opens to play whatever trailer, slideshow, etc. is this a settings problem for me or is QT no longer a stand alone app?
    I have installed the QT Pro 7 key, but QT player opens.
    Often when I click on someone else's posted QT link, I get a page in my browser - Safari, CAmino, with the QT Q with a ?.
    It seems like in QT6, I always had the independent QT app launch, and I haven't seen that with QT7.
    TIA,
    Les Owens
    Bath, NC

    Many of the new trailers and the new iPod (.m4v) format are designed to use iTunes instead of the QuickTime Player.
    If the file is on your computer you can use the Get Info window to change the default "Open With" app. If you Control-Click (right click) on the file you can choose QuickTime from the Open With pop-up menu.
    Can you post a link to a page that gives you the QuickTime logo with the ?

  • Premiere Elements - Organizer Help/Question.

    I have another posting out here but maybe I am not being clear enough so I will pose the question another way.
    I have a .mp4 file which contains 60 short pieces (happens to be football highlights) all strung together as one contiguous video.
    What I am simply trying to do is to break it down for making a handful of highlight videos, each with a different angle. (ex Offense, Defense, Rushing, Passing, etc)
    This is the basic outline of how I logically see it happening.  Problem is that I am can't figure out step 2:
    1) Cut it down into 60 individual videos (which I did and currently have in my project) using the Split/Clip functions of Elements.
    2) Save the pieces off as individual video clips so that they can be rated/ranked/categorized in Organizer.
    3) Polish/edit the individual pieces.
    4) Organize and assemble the various videos using the clips.
    For the life of me I can't get
    a) Elements to allow me to save of my projects as individual clips.
    and
    b) Get the Organizer to allow me to bring my clips in.
    I am using PE 11.
    Does this make sense?  Does anyone have any insight to offer?

    Ok, sounds good.
    I will just have to squirrel away copies of my project then build my different flavors the hard way. 
    I may be look at other tools before I resort to that.  I just hate to go through the headache of breaking it all down again but in the long haul could be worth it.
    This just seems like the hard way to go about this task but then again I am a software guy and think in terms of reusable components.  Maybe that mentality just doesnt work for video.
    Oh well, thanks to all of you for your help.
    Tom and Kara

  • How can I directly get an anwser to a help question?

    I work in an IT service desk where providing solutions to user problems is a high priority.
    I have been trying to get an answer to a simple question about Adobe premier but getting very frustrated as the only method of assistance offered is via this forum.
    I go to the Adobe help pages, follow the links about the query and it comes up with the recommendation to use the forum - OK, done that. half a day of wasted time and not a single response. The web page also shows that I can use chat or phone. However when I click to find out more about the options it just takes me back in the circle of asking what the question is about and kicking me back to the forum.
    My organisation has just invested heavily in CC tertiary site licenses and the setup of these in a University lab situation is a bit different so the normal help files aren't much use. relying on a forum for support is a cop out, and not the least bit helpful. Is there an e-mail address for Adobe where I can get a direct reply to my queries?
    Great software - crap support....

    I do not know of any way to talk to Adobe by telephone for a support issue... only billing
    Also, Premiere Pro has a very active forum http://forums.adobe.com/community/premiere/content
    However... I don't know if the people in that forum will be able to help with your situation
    You MAY be able to get help by starting at this link...
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Upgrade help/questions

    I have an ms 3678 ver 3 mobo and just ordered an athlon 2400 thouroughbred for a cpu upgrade. can anyone help me with some questions.
    1)do i need to flash my bios and if yes how do i do it?--details please
    2)what is the proper procedure for appling the thermal paste?
    3)Is there anything else i should be aware of in your opinion?
    4)Is 300watt power supply enough power for the new chip?
    if you answer, thanks for your time and advice.

    ok, i have went through the flashing the non fat file system and it doesn't seem that bad but this brings up yet more questions.  is it ok to flash the bios before i install the new cpu.  such as getting the computer ready to accept the new cpu and when it comes in from the mail, then i can just install the new cpu, and i am good to go. or should i wait until i install the new cpu to flash the bios? also i am confused about the boot disks, are these the same as having the win xp pro os cd. so, say instead of using the boot disks, i just use the cd with xp pro on it. is it the same thing? if not then i will just download the boot disk.  
    after all that, is putting in this new cpu saying that i need to reinstall windows again. is putting in this new cpu like having to start over from square one again. or are the boot disks just a program that will aid me in flashing the bios.
    sorry for all the confusion but i am just trying to understand everything that is involved.

  • IM MSGR FOR I-MAC HELP QUESTION

    Tryied yahoo msgr with my new Imac osx 10.4.9 didnt work
    I have msn msgr installed, it tells me the service may not be available or I am not not online...I am online fine..
    tech told me there might be a "plug in" software by a 3rdd party company that would make my msn msgr work...
    ...brand new I-Mac I cant isntant msg people...that is hard pillow to swallow
    any suggestions???
    Does I-chat not work or is it just me..is it limited??
    <post edited by host>
    I-Mac   Mac OS X (10.4.9)  

    Since Messenger is not an Apple product, you'll get better response if you use a forum dedicated to Microsoft's Mac products such as <http://groups.google.com/groups/dir?sel=33607053> rather than an Apple forum, as they only provide support for Apple products.
    Be sure to search the forum first in case someone has already had a similar question answered. You'll get your answer faster this way. Post your question in the forum if you don't find anything that helps you.

  • Help/Question with Reinstall  OSX 10.2.1 on iBook G4

    First off...I just want to say that if someone can take the time to assist me I would appreciate it more than you know! Now...on to my issue:
    History:
    I have a iBook G4 running, I think on either 10.3 or 10.4 (I can't tell you now because it won't start up). I have the discs for 10.2.1 that came with the computer. I purchased my iBook from a roommate of mine a few years back and before selling it to me he loading 10.3 or 10.4, and I don't have those discs.
    I was having an issue at start up...It would load to the point where I could see the picture I had on my desktop, and the dock would come up. Then it would stop and none of the icons on my desktop would show and neither would the menu bar at the top of the screen. When I clicked on an application in the dock, it would not load...the computer was trying (you could hear it) but it never would load it.
    So, I did some online searching (using my wife's MacBook...yes, I wish we had two) and used the disk utility to verify my disc. It said the "keys were out of order". So, I clicked repair, and it said that it repaired "Book B" (at least I think that's what it said).
    So, I restarted my computer, and now it comes to the gray screen with the clear spinning thing as though it is about to load. It sits there a while, and then just shuts off. So, I tried to reset the PRAM and that didn't do anything either.
    Problem I now have:
    I am now to the point that I am thinking I need to reinstall OSX...as said, I have the 10.2.1 discs that came with it upon purchase, but I know my roommate upgraded me to a newer version. I have lots of documents on here that I don't want to lose (and programs I don't have the discs for) and I plan to choose the "Archive and Install" and "Preserve User and Network Settings" Options.
    Questions:
    Is this what I should do?
    and if so...
    Will installing an older version than what I currently have any negative impact on the install or in me keeping my current documents and programs?

    DiskWarrior is the only application that "can" fix this problem, but there is no 100% guarantee. You need to get the DW CD & boot from the CD to fix the problem.
    Look at these links about DW.
    http://supportdb.alsoft.com:591/FMPro?-db=alsoftsupport&-lay=main&-max=15&-forma t=AlsoftSupport-qa.html&-script=counter&-token=182&-Skip=101&-find
    http://www.jimarnold.org/blog/2008/10/keys-out-of-order-on-macbook-diskwarrior-t o-the-rescue/
    I assume you don't have a backup of your hard drive, or you could just erase the hard drive & copy the backup files to it. Your next investment should be to buy & use an external hard drive for backup. You can get one for about the price + of DW.
     Cheers, Tom

  • F4 value help question

    Hi,
    because we don't have a submit button is there a way that after selecting a value help an event will be triggered so we can refresh the screen.
    At the moment after the user had selected a value and the value is transfered to the input field he have to put the cursor into the input field und make an enter
    to trigger the onEnter-event.
    That's not comfortable and the user don't know that he has to do this. The screen should be refreshed automatically after selecting an value help.
    Do somebody have any idea?
    Thanks, Susanne

    Write the code in Wddomodify but with a Condition and a counter.
    Condtion : Your input field is not intial ( input field has some value ).
    Counter : So that this code  is fired only once and that too when ever you want.
    Make an attribute Att in component controller.
    Att = 'Y' by default.
    For this write in WDdoinit of comp controller : wd_this->Att = 'Y'.
    in Wddomodify :
    If input_field is not initial and wd_comp_controller->Att = 'Y' .
    <Run your code>
    wd_comp_controller->Att = 'N'.
    endif.
    I hope this will do.

  • Report help / question

    I want to pull a specific report. either from the p6 tool reporting or directly from the database.
    Using Primavera p6 version 7.
    All the Role names and capacity / demand time for each role over a timespan where the role is assigned to an activity, and the activity project, grouped by project.
    Can someone help ?
    thanks for any help

    I check TRSRCSUM and it appears that the spread data is saved in a field called spread_data. It appears to be some type of pipe delimited data.
    At this point if I had this problem, I would use the spread services -- ReadPorjectRoleSpread operation via either the integration or web services to get role spread information.
    To use the raw information in the TRSRCSUM, you will need to figure out how to the spread the total_qty based on your selected window of dates against each of the assignments for activities that falls within you requested window.
    I took a crack at a simple spread based on calculating a multiplier for the target_qty base on the number of days within a given requested selection window for each of the assignments that fall within the window.
    Best guess, not sure it is completely correct and not pretty (the target window is in year 2009 because my P6V7 database is an old PUBDB demo database).
    So in this example, I am looking for a 19 day window for roles on activities that fall in that window and then using the calculated multiplier to scale the total_qty base for the given window.
    Again not sure if this is completely correct and I would recommend using the API spread service which will give you the correct answer but it was an interesting problem to look at.
    DECLARE @startDate DATETIME
    DECLARE @endDate DATETIME
    SELECT @startDate = '2009-04-05 08:00:00.000', @endDate = '2009-04-24 16:00:00.000'
    SELECT pj.proj_short_name, rl.role_name, tr.proj_id, tr.role_id, @startDate as start_date, @endDate as end_date,
    tr.target_start_date, tr.target_end_date,
    CASE WHEN tr.target_start_date > @startDate THEN tr.target_start_date ELSE @startDate END as window_start_date,
    CASE WHEN tr.target_end_date < @endDate THEN tr.target_end_date ELSE @endDate END as window_end_date,
    DATEDIFF(HH,tr.target_start_date, tr.target_end_date) AS target_days,
    DATEDIFF(HH,
    CASE WHEN tr.target_start_date > @startDate THEN tr.target_start_date ELSE @startDate END,
    CASE WHEN tr.target_end_date < @endDate THEN tr.target_end_date ELSE @endDate END
    ) AS target_window,
    tr.target_qty, tr.target_qty / DATEDIFF(HH,target_start_date, target_end_date) AS target_qty_day ,
    CASE
    WHEN DATEDIFF(HH,
    CASE WHEN tr.target_start_date > @startDate THEN tr.target_start_date ELSE @startDate END,
    CASE WHEN tr.target_end_date < @endDate THEN tr.target_end_date ELSE @endDate END
    ) > DATEDIFF(HH,target_start_date, target_end_date) THEN 1.0
    ELSE
    CAST(DATEDIFF(HH,
    CASE WHEN tr.target_start_date > @startDate THEN tr.target_start_date ELSE @startDate END,
    CASE WHEN tr.target_end_date < @endDate THEN tr.target_end_date ELSE @endDate END
    ) AS FLOAT) / Cast(DATEDIFF(HH,target_start_date, target_end_date) AS FLOAT)
    END AS window_multipler,
    CASE
    WHEN DATEDIFF(HH,@startDate, @endDate) > DATEDIFF(HH,target_start_date, target_end_date) THEN 1.0
    ELSE CAST(DATEDIFF(HH,@startDate, @endDate) as Float) / CAST(DATEDIFF(HH,target_start_date, target_end_date) as FLOAT)
    END * target_qty AS simple_spread
    FROM dbo.TASKRSRC tr
    INNER JOIN dbo.ROLES rl ON rl.role_id = tr.role_id
    INNER JOIN PROJECT pj ON pj.proj_id = tr.proj_id
    WHERE tr.role_id IS NOT NULL
    AND tr.target_end_date >= @startDate
    AND tr.target_start_date <= @endDate
    AND DATEDIFF(HH,tr.target_start_date, tr.target_end_date) > 0

Maybe you are looking for

  • Deleting Directory "Mail Downloads"

    Hi, I noticed that the files stored under "user-library-mail downloads" take up more than 1 GB. I wonder what will happen, if I delete all these files. As a test I deleted 1 file but still could find the file as an attachment to the original email as

  • Connect Flash Builder 4 to remote PHP service

    Hello i have seen some videos that explained how easy is connect Data/Services to local PHP server, and then extract the methods instantly. Also binding it to a datagrid, and everything was with wizard, easy and fast. I would like to do the same but

  • Can I recompress without losing Chapter markers?

    Hi all, I have a couple of QT movies (m4v) that I exported from FCP using compressor that have chapter markers which show up great in QT. I want to make the movies smaller still (they are about 800MB at the moment, I really need less than 500MB) but

  • Screen periodically flashing black.

    every once in a while, three or four times a minute my screen goes black it comes back on (for lack of a better term) right away without waking it or anything, it just flashes black. earlier i was hearing a small clicking noise like that of when you

  • TREX ABAP Client: How to index file content?

    Hello Colleagues, We have installed TREX search engine and writing own solution by using ABAP Client. Everything is ok except files content like XLS, DOC and so on. When we try to post binary content to the FM TREX_EXT_INDEX it is not processed by TR