Content in S/MIME Signed Message

Hi,
In the following statement, is it possible that the content can be a multipart containing two bodyparts (one containing text and one containing file attachment), my question is : the signature is valid ? :
CertStore certs...
SMIMESignedGenerator fact = new SMIMESignedGenerator();
fact.addSigner(privKey, cert, SMIMESignedGenerator.DIGEST_SHA1);
fact.addCertificatesAndCRLs(certs);
MimeMultipart smime = fact.generate(content, "BC");
Example :
MimeBodyPart mbp1 = new MimeBodyPart();
mbp1.setText(mailContent);
mbp1.setHeader("Content-Type", "text/plain");
// Create the attachment and add it to the mail message     
MimeBodyPart mbp2 = new MimeBodyPart();
FileDataSource fileAttachment = new FileDataSource(filePath);
DataHandler dh = new DataHandler(fileAttachment);
mbp2.setDataHandler(dh);
mbp2.setFileName(filename);
mbp2.setHeader("Content-Disposition", "ATTACHMENT");
Multipart multipart = new MimeMultipart("related");
multipart.addBodyPart(mbp1);
multipart.addBodyPart(mbp2);
PrivateKey key = UtilsCrypto.getPrivateKey( alias, passwd, urlpath, keystoretype);
Certificate[] chain = UtilsCrypto.getCertificateChain(alias, passwd, urlpath, keystoretype);
CertStore certsAndCRLs = CertStore.getInstance("Collection", new CollectionCertStoreParameters(Arrays.asList(chain)), "BC");
MimeBodyPart bodyPart = new MimeBodyPart();
X509Certificate cert = (X509Certificate) chain[0];
bodyPart.setContent(multipart);                         
// set up the generator
SMIMESignedGenerator gen = new SMIMESignedGenerator();
gen.addSigner(key, cert, SMIMESignedGenerator.DIGEST_SHA1, null, null);
gen.addCertificatesAndCRLs(certsAndCRLs);
MimeMultipart multipartbase = gen.generate(bodyPart, "BC");
message = setHeadersMessage(message, mailModel, file);
message.setHeader("Content-Type", "Application/pkcs7-signature; smime-type=signed-data;name=smime.p7s");                                                            
message.setContent(multipartbase);                              
message.saveChanges();
trans.sendMessage(message, address);
Many thanks.

Hi,
Okay, this topic is a bit old, nevertheless, here is my response.
If I understand correctly, what you want is to sign a message with attachment.
You can do this with the following code:
// Body object
MimeBodyPart body = new MimeBodyPart();
body.setContent("this is a test yeah", "text/html");
// Attachment
MimeBodyPart attachment = new MimeBodyPart();
attachment.setDataHandler(new DataHandler(new FileDataSource(sendFile), "text/plain"));
attachment.setFileName("blabla.dat");
// Creat MIME message from parts
MimeMessage notyetsigned = new MimeMessage(session);
Multipart multipart = new MimeMultipart();
multipart.addBodyPart(body);
multipart.addBodyPart(attachment);
notyetsigned.setContent(multipart);
/* Sign message */
MimeMultipart mm = gen.generate(notyetsigned, "BC");
// Create signed MIME message (again)
MimeMessage signedmessage = new MimeMessage(session);;
signedmessage.setContent(mm);
// Set up the message instance attributes
signedmessage.addRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
signedmessage.setSubject(subject);
signedmessage.addHeader("X-Priority", "1");
// send message
Transport.send(signedmessage);
Regards,
Valéry B.

Similar Messages

  • S/MIME Signed mails links behavior in OWA

    Hello all, i'm currently facing a problem with the OWA.
    Server: Microsoft Exchange 2010 (Version 14.3, Build 123.4)
    Client: Window 7 Pro | Internet Explorer 11.0.9600.17280
    Received (signed) mails containing a link will reformat the URL (http://www.google.com)to:
    https://b8b17ec8-ad06-44c8-b0d1-54f3ad2ef661/?REDIRECT=x-owacid2://DE530000/jmp:https://myexchangeserver.mydomain/owa/redir.aspx?C=izUaz_SpYUCbjOtKsoTTUkqUyiITsdEIVqUJ4RdfSgu3NdgypHP4h50cXQD6XaFU97sMkfF5BII.&smime=14.3.123.2&URL=https:%2F%2Fwww.google.com%2F
    Received (not signed) mails will display:
    https://myexchangeserver.mydomain/OWA/redir.aspx?C=izUaz_SpYUCbjOtKsoTTUkqUyiITsdEIVqUJ4RdfSgu3NdgypHP4h50cXQD6XaFU97sMkfF5BII.&URL=https:%2F%2Fwww.google.com%2F
    This happens only to signed mails.
    Any clue?

    yes,
    your answer did not match my question.
    as i already wrote in my first post:
    "How can i configure OWA to display the content of a S/MIME signed message in an unsupported browser
    (and probably display the above warning since the certificate cannot be verified)?"
    I know in which browsers S/MIME is supported, but OWA does not display the content of a signed (not encrypted!)
    in another browser. This behaviour was not there in exchange 2010.

  • OWA 2013 SP1 read S/MIME signed mails on other browsers

    Hi,
    we have configured S/MIME on our exchange platform using set-smimeconfig. It works so far, but we have encounted a rather strange behaviour:
    When trying to read a S/MIME signed email in a browser other that IE, it just displays the error "S/MIME isn't currently supported for
    your browser or platform."
    How can i configure OWA to display the content of a S/MIME signed message in an unsupported browser (and probably display the above warning since the certificate cannot be verified)?
    Kind regards,
    Peter

    yes,
    your answer did not match my question.
    as i already wrote in my first post:
    "How can i configure OWA to display the content of a S/MIME signed message in an unsupported browser
    (and probably display the above warning since the certificate cannot be verified)?"
    I know in which browsers S/MIME is supported, but OWA does not display the content of a signed (not encrypted!)
    in another browser. This behaviour was not there in exchange 2010.

  • Z10 can't open PGP-Signed Messages

    Hi everybody,
    we are a small company with about twenty Blackberry Z10 devices. Since the last OS-Upgrade our devices aren't able to display PGP-signed messages anymore. This isn't possible anymore on any of the Z10s devices that have been shown to me.
    When you try to open a PGP-signed message the device works for about a minute and then displays the error message: "The message can't be downloaded in the alloted time. Check your network connections and try again." If I try to display the S/Mime-Details while the device is working on the PGP-signed message it shows the following message: "Details for this message will be available after the message is decoded. Please wait."
    This tells me that the device tries to decrypt the message although it is only a signed message, which seems to be a bug. I also noted that S-Mime-signed messages are no problem and are shown as expected. Only PGP-signed messages produce this behaviour.
    Can anybody confirm or deny this?
    Cheers from Austria
    Till

    I do not know much about this issue but have been looking, info is hard to find, I hope what I did find helps.
    It may be that you need to install a new Certificate.
    http://docs.blackberry.com/en/admin/deliverables/14433/PGP_Support_Package_for_BlackBerry_Smartphone...
    http://docs.blackberry.com/en/smartphone_users/deliverables/47561/als1342708099072.jsp

  • MIME Partial messages - unable to combine parts to create the origional pdf

    Hi:
    I have a scanner/printer emailing a pdf document to an imap mail account I check with mail.app. The printer is set to break up mail messages into 5mb segments - this allows mailing of documents to some companies that restrict mail messages sizes.
    I did read through the threads in this list on this subject - none were solved, but appeared to be waiting for more information, I hope what I have collected below will help in this type of problem.
    If this is no longer an option within mail.app, I may be able to script it in perl, called from applescript. Perl have a module to decode MIME parts.
    For this particular message, it broke up the document into 3 parts.
    mail.app message window:
    Partial message, part 1 of 3
    To read this message, select all of the parts of the message and select the Message --> MIME --> Combine Messages menu item.
    The text "select all of the parts of the message" is not included in the raw messages and therefore must be generated by mail.app itself.
    Message --> MIME does not exist in mail.app version 2.1 (or 1.3)
    Is there a way within mail.app to append/combine three mail messages
    Message header:
    Subject: part 1/3<[email protected]>
    To: kent
    Cc: jerry
    Date: Tue, 1 May 2007 09:27:33 -0500
    Message-Id: <[email protected]>
    MIME-Version: 1.0
    Content-Type: message/partial;
    id="TANUP<1178029645.00007494ed80>";
    number=1;
    total=3
    Raw view snip from part 1/3:
    MIME-Version: 1.0
    Content-Type: message/partial;
    id="TANUP<1178029645.00007494ed80>";
    number=1;
    total=3
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
    boundary="DCBOUND_PRE<1178029645.00007494ed80>"
    This is a multi-part message in MIME format.
    --DCBOUND_PRE<1178029645.00007494ed80>
    Content-Type: text/plain; charset=US-ASCII
    Content-Transfer-Encoding: 7bit
    This E-mail was sent from "duplex" (Aficio 2027).
    Scan Date: 01.05.2007 09:27:23 (-0500)
    Queries to: [email protected]
    --DCBOUND_PRE<1178029645.00007494ed80>
    Content-Type: application/pdf; name="20070501092725014.pdf"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
    filename="20070501092725014.pdf"
    JVBERi0xLjMKJZKgoooKNCAwIG9iago8PC9UeXBlL1hPYmplY3QKL1N1YnR5cGUvSW1hZ2UK
    L1dpZHRoIDQyMjQKL0hlaWdodCAyNTUxCi9CaXRzUGVyQ29tcG9uZW50IDEKL0NvbG9yU3Bh
    Raw view snip from part 2/3:
    Message-Id: <[email protected]>
    MIME-Version: 1.0
    Content-Type: message/partial;
    id="TANUP<1178029645.00007494ed80>";
    number=2;
    total=3
    mhjYPvksDwe9LRhBN1HIa5KYEbDGNhlLjBB2OCJByyi80gnnVdauo1i89h8XGrtYIC8i5SBl
    PowerMac G4   Mac OS X (10.4.9)   Mail version 2.1 (752/752.2)
    PowerMac, PowerBook, Mini, MacBook Pro   Mac OS X (10.4.9)   Mail Version 2.1 (752/752.2)
    PowerMac, PowerBook, Mini, MacBook Pro   Mac OS X (10.4.9)  

    If you do a search of the help in Acrobat with "merge files" you come up with at least 2 different solutions.

  • Error in sending signed messages to trading partners

    This is what we are doing:
    Setup Host and Trading Partner Delivery Channels with Non-Repudiation of Origin
    and Non-Repudiation of Receipt enabled. Upload certificates on Document
    Exchange setup. Assign Delivery Channels to Agreement. Transmit outbound
    Text error occurs.
    Here is the error:
    AIP-51083: General failure creating S/MIME digital signature:
    java.lang.NullPointerException
    at
    oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessag
    ing.java:1054)
    at
    oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart
    (MimePackaging.java:392)
    Everyrthing works fine if we don't have signed messages and secure messages also work.
    Is there additional configuration there needs to be done?
    Thank you,
    Lavar

    Hi,
    I am not sure what you did. When you export the user certificate from the Oracle Wallet using the Oracle Wallet Manager, it is already in base64 encoded format. Save this file. You do not need to recreate the trading partner. You need to replace the existing certificate with this newly saved file in your host delivery channel. One way to do this is to upload this user certificate in the B2B host page (Click on create under the Certificates section). Then go to your host delivery channel (in the capabilities page) and view your document exchange. Once you are in the Document Exchange Details page, you can see your existing signing credential. Click Update and replace the signing credential with the newly created credential using the user certificate you have exported from the Oracle Wallet. Redeploy and restart the B2B Server.
    Regards,
    Eng

  • Web Dynpro ABAP: How to access the content of a mime object?

    Hi everyone,
    does anybody know how to access the content of a mime object of a Web Dynpro component? I added a XML file as mime object to a web dynpro component. Now I want to read the content of this xml file within a method of the component controller. The code would look something like:
    DATA: xml_content type xstring.
    xml_content = read_mime_object("test_123.xml").
    Any ideas?
    Regards,
    Nils

    dude here's the modification that i've done but I can't still access the content of the properties...
               Mail mail = new Mail();
               String message2 = sqlException.getMessage();
               File file = new File("Add.properties");
               Properties props = new Properties();
               props.load(new FileInputStream(file));
               String[] emailadd = {props.getProperty("emailadd","defaultValue")};
               mail.postMail(emailadd,"An error has occurred, Auto-archive was unsuccessful.", message2,"[email protected]");
               Message was edited by:
    ryshi1264

  • Unable to sign message, keeps coming up

    An error occurred while trying to sign this message with a certificate from “***********”. Verify that your certificate for this address is correct, and that its private key is in your keychain.
    <Email edited by Host>

    First, the address associated with the S/MIME public key must exactly match the address to which you're trying to send the encrypted message, or from which you're trying to send a signed message. If the message is both signed and encrypted, both addresses must match. The matching is case-sensitive: "[email protected]" does not match "[email protected]".
    The signing and/or encrypting certificates must be valid: not self-signed, expired, or revoked. You can check the status of the certificate in Keychain Access (see below.)
    If you can't encrypt or sign messages to a valid address with a valid certificate, continue.
    Back up all data before proceeding.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select
              Change Settings for Keychain "login"
    In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
              Keychain Access ▹ Preferences... ▹ First Aid
    If the box labeled Keep login keychain unlocked is not checked, check it.
    Select Keychain from the menu bar and repair the keychain.
    Quit and relaunch Mail. Test. If the problem isn't resolved, continue.
    Export all S/MIME certificates, delete them from the keychain, and reimport. For instructions, select
              Help ▹ Keychain Access Help
    from the menu bar and search for the term "export" in the help window. Export each certificate as an individual file; don't combine them into one big file.
    Test again. If the test fails, delete all the certificates again, then reinstall them from fresh copies.

  • SSF error: Invalid signer, Message no. 1S005

    Hello Everyone,
    We are in the process of configuring the content server in our customer's landscape.
    Post the definition of content repository and the associated storage category,in the CSADMIN section,in the certificates tab, an error that reads SSF error: Invalid signer, Message no. 1S005 is thrown up whenever we attempt to send the certificate.Toggling values of 'Security' and ' Check Signature' fields doesn't help either.
    Could anyone shed light on this issue and possible solution?
    Note:We have not enabled/configured digital signature strategy and all the previous posts in the forum on this topic are in-conclusive.
    Regards,
    Pradeepkumar Haragoldavar

    Dear Pradeep
    The error message "Invalid signer" actually exactly means what the
    message text says: the system where the error occurred was unable
    to verify the signer of a signed document, most likely because the
    related certificate could not be found.
    Please check the following:
    - Does a PSE exist on the signing system for the intended purpose?
    (check: communication with a content server) (TA STRUST)
    - Does PSE use a subject name that consists of 7bit ASCII
    characters only?
    - Has the certificate been distributed to the receiving system ?
    Which security toolkit do you use (SAPSECULIB or SAPCRYPTOLIB)?
    Please check the version of your installed security toolkit (TA STRUST,
    menu "Environment > Display SSF Version").
    Please also check for any error messages that may occurr at the
    SSF initialization phase (ST11)
    if you are using SAPCRYPTOLIB for SSF, please see note 662340
    Regards
    Tushar Dave

  • "This is a MIME encoded message ..." within the email message

    Hi there,
    Basically I am getting a "This is a “MIME encoded message ..." at the beginning of email messages.
    When I send a website form via email I get “This is a “MIME encoded message … Content-Type: text/plain; charset=ISO-8859-1″ attached to the beginning of the body of the email. This only happens when you send from the GoDaddy hosted website and only to an Apple @me.com or @icloud.com email address. This does not happen when you send the same form from a different website server or to another email address such as @cox.net. This is a plain text email created by Form Processor Pro thru the website. Also checking with GoDaddy.
    Just wondering if this is happening to others and if there is anything I can do to get rid of that mime message?
    Thanks.
    GRN

    My take on that is server reacts on some type of PHP encoding in mail form. (pardon me for possible language mishaps, I am not programmer). I would try and see if possibly using another browser would make it more acceptable for mail server, you could try Google Chrome (if I understood correctly you filling those forms in web interface, aren't you?) instead of Safari.

  • I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    I'm trying to burn a dvd from idvd but I keep getting error message, broken assets, but when I check my drop zones and their content there's no error messages on any of them?

    Hi
    And if You change view - in main "window/view field" so that You see the box-plot structure.
    No exclamation marks there either ?
    and non at the front page ?
    iDVD do not copy Your material - only points to where it is stored. So if on any external hard disks, USB-memories, CDs or DVDs are missing - assetts are broken.
    Or if You changed location of any material or directed iPhoto or iTunes or GarageBand to a new Library - Then iMovie/iDVD also get's lost.
    Yours Bengt W

  • Signer messaging not working in Safari

    I have customised my signer messaging for my widget which is appearing in Chrome and in Safari Mobile but not in Safari Desktop on Mac. I don't think it is a cache issue as I am clearing cache and other test changes I make are appearing. It is not showing updates to the signer message that were made the previous day.
    This is only in Safari Desktop.
    Is this a Bug Issue?

    Hi Rob
    Thanks for your reply,
    I did open a support ticket yesterday and in the reply was told by Sudarshan Shridar at Echosign that he had tested the signer messaging in Safari on an iMac and he said it was OK.
    I don't think he understood my problem which is that the signer message displays but it does not replicate the customisations I have made in Safari. Consequently I supplied him with 2 screen shots, one from Chrome where the Signer Message views correctly and one from Safari Where it does not view correctly.
    This was 16.10pm yesterday and I have yet to receive a reply unfortunately.
    Attached is the screen shots for you to see in case you have any suggestions.
    Regards
    Steve

  • Mail doesn't send certificate-signed message

    Symptoms
    When attempting to send a message in Mail that has been signed by a trusted certificate, a message appear that states:

"Unable to sign message
You don’t have a trusted certificate in your keychain that matches the email address (sender’s email address). Without a certificate, you can’t sign messages sent from this address."
    
The Compose window cannot be closed.
    (same as describe for Lion in http://support.apple.com/kb/TS4222 )
    Then, if you quit Mail and reopen it, the signed message reopen in its
    compose window and can now be sent…

    Symptoms
    When attempting to send a message in Mail that has been signed by a trusted certificate, a message appear that states:

"Unable to sign message
You don’t have a trusted certificate in your keychain that matches the email address (sender’s email address). Without a certificate, you can’t sign messages sent from this address."
    
The Compose window cannot be closed.
    (same as describe for Lion in http://support.apple.com/kb/TS4222 )
    Then, if you quit Mail and reopen it, the signed message reopen in its
    compose window and can now be sent…

  • Signed messages are missing from search results in a shared mailbox

    We recently completed moving all user mailboxes to Exchange 2013 from Exchange 2010.  We also have a policy that disables the 'download shared mailboxes' option in Outlook as it cause .ost files to get cumbersome and cause performance problems.  This
    means that shared mailboxes that users have open are all in 'Online' mode.  Since the move to 2013, when users search against a folder in a shared mailbox, the only items that are returned are unsigned messages.  Our customer base very frequently
    signs email and these signed messages do not show up in results.  This was working in Exchange 2010 so our users are frustrated by the sudden inability to receive complete and accurate search results.
    If they perform a search of their local mailbox, which is using Cached mode, they are searching against their local index and they can find signed messages.  But since the shared mailbox is not cached to their local system, they are relying on the Exchange
    server index and it does not seem to be indexing any signed messages.
    Does anyone know how to force Exchange 2013 to index signed messages?

    try to perform the below steps and check if it works or else we need to wait till Exchange 2013 SP1 which they have planned to bring digital signature message in exchange
    Outlook 2007
    In Outlook 2007, follow these steps to verify that indexing is complete:
    In Outlook, click Tools, Instant Search, and then click
    Instant Search.
    When the Microsoft Office Outlook dialog appears, you should see the following:
    Outlook has finished indexing all of your items.
    New items are indexed when they arrive.
    0 items remaining in "Mailbox -<<var>username</var>>"
    0 items remaining across all open mailboxes.
    Outlook 2010 and Outlook 2013
    In Outlook 2010 and Outlook 2013, follow these steps to verify that indexing is complete:
    In Outlook, click in the Search box.
    Click the Search tab, click Search Tools, and then click
    Indexing Status.
    When the Indexing Status dialog appears, you should see the following:
    Outlook has finished indexing all of your items.
    0 items remaining to be indexed.
    Exchange Queries

  • WSM Sign Message - BinarySecurityToken ordering in Soap message

    Hi,
    We are trying to send X509 signed messages to a remote client who is using WSE 3.0. WSM is using a Reference URI in SecurtiyTokenReference which relates to a BinarySecurityToken. Currently the BinarySecurityToken follows the SecurityTokenReference in the SOAP message we are sending. The 3rd party has asked we ensure the BST comes first in SOAP:
    Has anybody come accross this before or have any suggestions for OWSM on how to make this happen?
    *{color:#ff0000}Currently:{color}*
    &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;soap:Header&gt;
    &lt;wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand="1"&gt;
    &lt;dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"&gt;
    &lt;dsig:SignedInfo&gt;
    &lt;dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /&gt;
    &lt;dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /&gt;
    &lt;dsig:Reference URI="#_1wUgSgZOxWwla32XNs9alA22"&gt;
    &lt;dsig:Transforms&gt;
    &lt;dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /&gt;
    &lt;/dsig:Transforms&gt;
    &lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /&gt;
    &lt;dsig:DigestValue&gt;it3C2jxQsyJg3cu4lJw1bi1yE50=&lt;/dsig:DigestValue&gt;
    &lt;/dsig:Reference&gt;
    &lt;dsig:Reference URI="#_FZT6dshZtCCekjthPWe1BQ22"&gt;
    &lt;dsig:Transforms&gt;
    &lt;dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /&gt;
    &lt;/dsig:Transforms&gt;
    &lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /&gt;
    &lt;dsig:DigestValue&gt;KRsvU/IqWlCPd8ywrmO3EAg5TTg=&lt;/dsig:DigestValue&gt;
    &lt;/dsig:Reference&gt;
    &lt;/dsig:SignedInfo&gt;
    &lt;dsig:SignatureValue&gt;KW8qS+50jy8CQeH9dfZCOAT0yWIUJpRysEOG+yucD6wj7VgRA8VXQLkn9yuG+G85ndVXyydCDrFyapJNL8MyEa3XI/oYWaB2Q2OFCg+ctxm7wbkwN+Wgdh/nxOp9Wls447wxfwiBF9N8XIWmGwyKa103rixazzIf1l1vny7cw+M=&lt;/dsig:SignatureValue&gt;
    {color:#ff0000}&lt;dsig:KeyInfo&gt;
    &lt;wsse:SecurityTokenReference xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"&gt;
    &lt;wsse:Reference URI="#BST-1PYIu9y1RAUXT74Pde0XvQ22" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" /&gt;
    &lt;/wsse:SecurityTokenReference&gt;
    &lt;/dsig:KeyInfo&gt;
    &lt;/dsig:Signature&gt;
    &lt;wsse:BinarySecurityToken ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" wsu:Id="BST-1PYIu9y1RAUXT74Pde0XvQ22" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"&gt;*token in here+*&lt;/wsse:BinarySecurityToken&gt;{color}
    Should be:
    &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;soap:Header&gt;
    &lt;wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand="1"&gt;
    &lt;dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"&gt;
    &lt;dsig:SignedInfo&gt;
    &lt;dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /&gt;
    &lt;dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /&gt;
    &lt;dsig:Reference URI="#_1wUgSgZOxWwla32XNs9alA22"&gt;
    &lt;dsig:Transforms&gt;
    &lt;dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /&gt;
    &lt;/dsig:Transforms&gt;
    &lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /&gt;
    &lt;dsig:DigestValue&gt;it3C2jxQsyJg3cu4lJw1bi1yE50=&lt;/dsig:DigestValue&gt;
    &lt;/dsig:Reference&gt;
    &lt;dsig:Reference URI="#_FZT6dshZtCCekjthPWe1BQ22"&gt;
    &lt;dsig:Transforms&gt;
    &lt;dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /&gt;
    &lt;/dsig:Transforms&gt;
    &lt;dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /&gt;
    &lt;dsig:DigestValue&gt;KRsvU/IqWlCPd8ywrmO3EAg5TTg=&lt;/dsig:DigestValue&gt;
    &lt;/dsig:Reference&gt;
    &lt;/dsig:SignedInfo&gt;
    &lt;dsig:SignatureValue&gt;KW8qS+50jy8CQeH9dfZCOAT0yWIUJpRysEOG+yucD6wj7VgRA8VXQLkn9yuG+G85ndVXyydCDrFyapJNL8MyEa3XI/oYWaB2Q2OFCg+ctxm7wbkwN+Wgdh/nxOp9Wls447wxfwiBF9N8XIWmGwyKa103rixazzIf1l1vny7cw+M=&lt;/dsig:SignatureValue&gt;
    {color:#ff0000}&lt;wsse:BinarySecurityToken ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" wsu:Id="BST-1PYIu9y1RAUXT74Pde0XvQ22" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"&gt;*token in here+*&lt;/wsse:BinarySecurityToken&gt;
    &lt;dsig:KeyInfo&gt;
    &lt;wsse:SecurityTokenReference xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"&gt;
    &lt;wsse:Reference URI="#BST-1PYIu9y1RAUXT74Pde0XvQ22" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" /&gt;
    &lt;/wsse:SecurityTokenReference&gt;
    &lt;/dsig:KeyInfo&gt;
    &lt;/dsig:Signature&gt;{color}

    This is registered as BUG 8359856 with Oracle Support.

Maybe you are looking for

  • Delivery Cost for Free Goods

    Dear SAP Guru, I need some advice how to do the following scenario. In My Purchase Order there will be 2 material A dan B. And B is a free goods (no invoice receipt). And in this Purchase Order there will be added some type of Delivery Cost. How can

  • How to post a document in the future using DI API?

    Hello friends Please can someone help me find a clever way around this.... I am using SAP 2005 SP01 PL09. I am trying to add an invoice into SAP using a VB.Net application. I want to set the date for the invoice to a future date (e.g. 01/01/2008). Th

  • 'NI-PAL Service Manager has encountered a problem and needs to close. We are sorry for the inconvenience.'

    Hello, Any idea how to fix this problem that casuses this error? 'NI-PAL Service Manager has encountered a problem and needs to close. We are sorry for the inconvenience.' I have been re-loading LabVIEW 8.0.1 Pro Dev Sytem, NI-DAQ (Traditional) and N

  • ACE Stickyness via SSL

    Hello, i've wanted to configure Stickyness via SSL Session ID. I coul'd not find anything in the docs how to do this. Is this feature not supported by the ACE? Sven

  • TCP wait on response

    I have an instrument on a remote PC. I have TCP server running on that PC. The server can control the instrument and that works. I used NI CVI to create the TCP server and the instrument control interface. The TCP client is on a separate controller P