A failure of verifying a DSA signature in JDK1.4.

Hi,
I have a problem of the interoperability among JDK1.3 and JDK1.4.
If someone knows about this, please let me know whether JDK1.4 is right or JDK1.3 is right.
I see some signatures fail to verify in 1.4.2_01 but succeeds in 1.3.1-b24.
Those are all DSA signatures. For example,
merlin-xmldsig-twenty-three/signature-x509-crt-crl.xml
which you can get from
http://www.w3.org/Signature/2001/04/05-xmldsig-interop.html
I succeed to verify this Signature in JDK1.3 and fail in JDK1.4.
The exception in JDK1.4 is as follows :
java.security.SignatureException: invalid signature: out of range values
     at sun.security.provider.DSA.engineVerify(DSA.java:228)
     at sun.security.provider.DSA.engineVerify(DSA.java:182)
     at java.security.Signature.verify(Signature.java:464)
Thanks.

Hi,
I'm seeing the same error with DSA signatures under 1.4. Did you find out what is going on?
Thanks.
java.security.SignatureException: invalid signature: out of range values
     at sun.security.provider.DSA.engineVerify(DSA.java:228)     
at sun.security.provider.DSA.engineVerify(DSA.java:182)
     at java.security.Signature.verify(Signature.java:464)
     at cryptix.openpgp.algorithm.PGPDSA.verifySignature(PGPDSA.java:555)

Similar Messages

  • AS2 error: IP-51083:  General failure creating S/MIME digital signature

    Hello All,
    I am getting a failure when sending AS2 with encryption and digital signature. The certificates have been set up as follows:
    Signing and Encryption for Host : Store the certificate in both wallet and repository
    Signing and Encryption for TP : Store the certificate in repository.
    Looks like it it finding the key but looking for "alternateWrl: /apps6/orab2b/as10gt/product/1012/ip/config/wallet/wallet1". Not sure where this wallet1 comes from?
    Thanks.
    2009.06.24 at 15:41:21:471: Thread-40: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Entering...
    2009.06.24 at 15:41:21:471: Thread-40: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Sign using the configured certificate
    2009.06.24 at 15:41:21:471: Thread-40: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign wrl: /apps6/orab2b/as10gt/product/1012/ip/config/wallet
    2009.06.24 at 15:41:21:475: Thread-40: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2009.06.24 at 15:41:21:503: Thread-40: B2B - (DEBUG) Utility:getPrivateKey:matching private key found
    2009.06.24 at 15:41:21:503: Thread-40: B2B - (DEBUG) Utility:getPrivateKey:Exit2009.06.24 at 15:41:21:503: Thread-40: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /apps6/orab2b/as10gt/product/1012/ip/config/wallet/wallet1
    2009.06.24 at 15:41:21:503: Thread-40: B2B - (DEBUG) Utility:getPrivateKey:Enter2009.06.24 at 15:41:21:504: Thread-40: B2B - (ERROR) java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:426)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1807)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:296)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:121) at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1684)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    2009.06.24 at 15:41:21:504: Thread-40: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:426)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1807)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:296)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:121)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1684)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
    ... 10 more

    Hi Anuj,
    I moved the setup to production and I started to get the failures. I verified and re-verified the setup. It is same as in test. I deleted and re-did the setup. However, still failing. As can be seen from the message below the matching private key is found but the encryption/signature does not happen. Again this is outbound message from host to TP. Appreciate any help.
    Thanks.
    2009.08.24 at 11:20:11:555: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setSignatureAlgorithm using algorithm name Leaving...2009.08.24 at 11:20:11:555: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Entering...2009.08.24 at 11:20:11:555: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Leaving...
    2009.08.24 at 11:20:11:555: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Entering...2009.08.24 at 11:20:11:556: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Sign using the configured certificate2009.08.24 at 11:20:11:556: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign wrl: /apps6/orab2b/as10gp/product/1012/Apache/Apache/conf/ssl.wlt/default
    2009.08.24 at 11:20:11:562: Thread-22: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2009.08.24 at 11:20:11:595: Thread-22: B2B - (DEBUG) Utility:getPrivateKey:*matching private key found*
    2009.08.24 at 11:20:11:595: Thread-22: B2B - (DEBUG) Utility:getPrivateKey:Exit2009.08.24 at 11:20:11:595: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /apps6/orab2b/as10gp/product/1012/Apache/Apache/conf/ssl.wlt/default/wallet1
    2009.08.24 at 11:20:11:595: Thread-22: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2009.08.24 at 11:20:11:599: Thread-22: B2B - (ERROR) java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:426)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1807)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:296)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:121)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1684)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    2009.08.24 at 11:20:11:600: Thread-22: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)

  • Problem with using DSA signatures ON CARD

    Hi ppl,
    I've encountered a rather really wierd problem using DSA signatures on a java card applet.
    I just create the key using these two lines and i get a response which is not supposed to happen...
    KeyPair dsakey = new KeyPair (KeyPair.ALG_DSA, KeyBuilder.LENGTH_DSA_1024 );
    dsakey.genKeyPair();
    when i jus execute this portion(there shudn be a response coz i've written 4 one) but this is the unexpected trace on the shell
    cm> /send 00150000
    => 00 15 00 00 ....
    (259128 usec)
    <= 7C 16 C8 12 D0 7A EF EE A1 52 6D 00
    nevermind the 6D 00 response it jus means that the INS value is not recommended
    The wierd part is i haven written any code for handling response here which jus means that somethin is happenin when the key is initialized... n secondly i don know what this 10 byte value represents also and it keeps changing each time i execute...
    Please throw some light if anyone knows anythin or solved some issue like this before...
    card specs... jcop 21 36k version 2.3.1 however this issue persists on simulator as well...
    Thx in advance
    cheers
    Bharat

    Yeh lex
    Figured it out ... Thx anyways ... Using RSA signatures... ^_^
    Cheers
    Bharat

  • Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code

    I get this message when I check the Device manager for my Ipod
    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)
    How do I resolve this I have reinstalled iTunes but it still doesn't recognise my ipod

    I reinstalled Itunes a couple of times.  I unistalled all programs that I never use, I updated all of my drivers, Windows swept my computer and found no problems.  I have a yellow causion lite when I look at the USB-port with the phone connected.  All other devices work without a problem.

  • AIP-51083:  General failure creating S/MIME digital signature: Error

    I know you guys did answer to this kind of question in several threads. But my case is bit different. Please try to help me to resolve this issue.
    OS: AIX 5.3
    B2B: 10.1.2.2 (No Additions)
    I did encrypt the message using certificates (Host & Trading Partner) and send to Trading Partner and got the confirmation. So assuming there is no issue with wallet and certificates.
    But I am not able to sing the same message using same certificates.
    (I don’t have any issue with Host certificate, I can use it for host sing but I have issue with Trading Partner certificate)
    Here the error message. I really appreciate your help.
    <MSG_TEXT>Error -: AIP-51083: General failure creating S/MIME digital signature: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:434)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1165)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:701)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:832)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:568)
    Caused by: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1054)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:392)
    ... 9 more
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:965)
    ... 10 more
    </MSG_TEXT>
    Thanks in Advance,
    Rama K

    Hi Anuj,
    Thanks for your good reply.
    I was doing same thing which you mentioned (Thats the reason encryption is working with same certificates, so there is no issue with wallet and certificates).
    in my log (debug mode) I did find some thing is interesting
    From the log,
    <MSG_TEXT>oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /oraaiad/B2BHome/Apache/Apache/conf/ssl.wlt/default/wallet1</MSG_TEXT>
    Log is looking for alternateWrl "/*default/wallet1*"
    But my wallet location which I mentioned in tip.props /oraaiad/B2BHome/Apache/Apache/conf/ssl.wlt/*default/wallet.txt*
    I know there is no location called "*wallet1*" thats the reason why it's throwing null pointer. But my questions is, why it's looking for alternateWrl? Here some of debug log.
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.336+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="UNKNOWN"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Utility:getPrivateKey:Exit</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.336+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="UNKNOWN"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /oraaiad/B2BHome/Apache/Apache/conf/ssl.wlt/default/wallet1</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.336+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="UNKNOWN"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Utility:getPrivateKey:Enter</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.506+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:416)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
         at java.lang.Thread.run(Thread.java:568)
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.506+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1077)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:416)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
         at java.lang.Thread.run(Thread.java:568)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         ... 10 more
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.507+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <MSG_ID>AIP-51083</MSG_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Error -: AIP-51083: General failure creating S/MIME digital signature
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:458)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
         at java.lang.Thread.run(Thread.java:568)
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    Please share your idea/comments.
    I appreciate your help.
    Regards,
    Rama K

  • AIP-51083:  General failure creating S/MIME digital signature

    I want to do a test my B2B server whether it can sent B2B with certification request, so first I config
    my wallet file is ewallet.p12, not txt file, so I locate wallet location in tip.properties:
    oracle.tip.adapter.b2b.WalletLocation = file:D:\\EAIB2B\\B2BServer\\ip\\config
    and then in the B2B config console change the wallet password.
    I find such error log as below when I sent B2B request, it expose AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    Description: General failure creating S/MIME digital signature
    StackTrace:
    Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.createSignatureMimeBodyPart(MimePackaging.java:480)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.createMultipartMessage(MimePackaging.java:934)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.doPack(MimePackaging.java:1132)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.pack(MimePackaging.java:3172)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1685)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
    ... 10 more

    Hi,
    Please refer -
    AS2 error: IP-51083:  General failure creating S/MIME digital signature
    Place your wallet at default wallet location - Midtier_Home/Apache/Apache/conf/ssl.wlt/default and mention this location in your tip.properties file.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Jun 28, 2009 7:33 PM

  • AIP-51083:  General failure creating S/MIME digital signature: java.lang.Nu

    Hi All,
    While sending an 850 document to supplier, I am getting below error, Could any one give some idea how to resolve this.
    Regards
    Machine Info: (usmtnz-dinfwi12.dev.emrsn.org)
    Description: General failure creating S/MIME digital signature
    StackTrace:
    Error -: AIP-51083: General failure creating S/MIME digital signature: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:468)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1807)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:296)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:121)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1685)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    Caused by: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:426)
         ... 9 more
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
         ... 10 more

    Please refer to below forum Thread :
    AS2 error: IP-51083:  General failure creating S/MIME digital signature
    AS2 error: IP-51083:  General failure creating S/MIME digital signature
    If issue still exist, Please post the detail log in debug mode for further analysis.
    Rgds,
    Nitesh Jain

  • Verifying OpenOffice document signature

    Hi all,
    When you sign an ODT document throught OpenOffice interface, an XML Signature file is generated inside ODT file structure: documentsignatures.xml.
    I'm trying to verify this XML Signature using JDK 6 JSR 105 implementation, but i have some problems ...
    I try a simple verification uncompressing ODT file (JAR file) and accessing documentsignatures.xml directly:
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    dbf.setNamespaceAware(true);
    DocumentBuilder db = dbf.newDocumentBuilder();
    Document d = db.parse("documentsignatures.xml");
    NodeList nl = d.getElementsByTagNameNS(XMLSignature.XMLNS, "Signature");
    X509Certificate cert = X509Certificate.getInstance(new FileInputStream("rootca.der"));
    DOMValidateContext valContext = new DOMValidateContext(cert.getPublicKey(), nl.item(0));
    XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM");
    XMLSignature signature = fac.unmarshalXMLSignature(valContext);
    if (signature.validate(valContext)) {
        System.out.println("OK");
    else {
        System.out.println("BAD SIGNATURE");
    }But i get an exception:
    Exception in thread "main" javax.xml.crypto.dsig.XMLSignatureException: javax.xml.crypto.URIReferenceException: java.lang.NullPointerException
    at org.jcp.xml.dsig.internal.dom.DOMReference.dereference(DOMReference.java:352)
    at org.jcp.xml.dsig.internal.dom.DOMReference.validate(DOMReference.java:311)
    at org.jcp.xml.dsig.internal.dom.DOMXMLSignature.validate(DOMXMLSignature.java:230)
    at VerifyODTSignature.main(VerifyODTSignature.java:63)It seems like a problem with reference resolution ... So i modify the initial code to handle an "URIDereferencer":
    DOMValidateContext valContext = new DOMValidateContext(cert.getPublicKey(), nl.item(0));
    valContext.setURIDereferencer(new URIDereferencer() {
           public Data dereference(URIReference uriReference, XMLCryptoContext context) throws URIReferenceException
                    OctetStreamData osd = null;
                    try
                        osd = new OctetStreamData(new FileInputStream("/referenced_xml_files/" + uriReference.getURI()));
                    catch (Exception e)
                        e.printStackTrace();
                    return osd;
            });But i get an:
    Exception in thread "main" javax.xml.crypto.dsig.XMLSignatureException: javax.xml.crypto.dsig.TransformException: java.lang.ArrayIndexOutOfBoundsException: 23
    at org.jcp.xml.dsig.internal.dom.DOMReference.transform(DOMReference.java:390)
    at org.jcp.xml.dsig.internal.dom.DOMReference.validate(DOMReference.java:312)
    at org.jcp.xml.dsig.internal.dom.DOMXMLSignature.validate(DOMXMLSignature.java:230)
    at VerifyODTSignature.main(VerifyODTSignature.java:62)I supose that i'm not usign URIDereferencer properly, but i could'n find documentation or samples regarding this issues :(
    Please, somebody can help me?
    Thanks in advance!!!!
    Edited by: borillo on Mar 4, 2008 8:23 AM

    Hi all,
    Finally Sean Mullan have found the problem. Here is his answer:
    I finally found some time to debug into this problem. It is a bug in the canonicalization code and I will open a bug to have it fixed in JDK 6. It is only triggered if an element has over 23 attributes and the
    office element in content.xml has 24 attributes!
    The only workaround I can think of is to use a Apache XMLSec jar and override the implementation in the JDK. You can do this with the endorsed override mechanism of the JDK. What you need to do is download the following jars:
    1) Java XMLSec (1.4 or later): http://xml.apache.org/security/dist/java-library/
    2) Commons Logging:
    http://commons.apache.org/downloads/download_logging.cgi
    You need the commons logging library because the Apache implementation uses that instead of the JDK logging mechanism.
    Put these two jars in a lib directory, and then specify that lib directory as the endorsed directory when running your application, for example:
    java -Djava.endorsed.dirs=lib ...
    This should work.
    HTH,
    Sean
    """

  • Generating fixed length DSA signatures

    hello,
    i have this query. I am working on an application that generates a DSA signature on a string that is of 8bytes. i am using SHA1withDSA algorithm. My data string is always 8 bytes. However the signature length is always varying ,sometimes the signature that is generated is of 46 characters sometimes 47 and sometimes 48. Is it possible to control this and generate a fixed length Digital Signature????
    Thanks in advance

    Could yo resolve the problem? I've got the very same problem and y don't know what to do.

  • How to verify whether the signature is updated?

    How to verify whether the signature of anti-spam and anti-virus is updated??

    If you are at the CLI and use antivirusstatus it also shows when the last update was done and when the last successfully was done. When it was successful the pattern are up to date.
    Same it true for antispam (antispamstatus)
    Best Regards,
    Mark

  • Samba decode_pac_data: failed to verify PAC server signature

    i have an os x server 10.6.3 bound in AD as Only Samba Fileserver
    when a user connect to a share write the sambalog an error
    decodepacdata: failed to verify PAC server signature
    what is that ?
    thx

    Hi ejp,
    It strips out marks headers such as sstrTxt: TXT: "g=*; k=rsa; t=y; p=
    and gives me a bare public key.
    For example, the output for public key without the replaceAll call gives me:
    strTxt: TXT: "g=*; k=rsa; t=y; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCg8yo6rDhsNiwUfVR37HgF4bWqoG13Nd9XLT+Z0VLzCkWJZOdzGNQnnm7ujoQ8gbxeDvIo9RG5I3eZteBwD91Nf6P/E9lvJQDL2Qnz4EXH/CVW9DeEfvY1UJN9kc6q6KkYEPWssvVvlDOp2slbEKZCJtaPvVuGCAqfaps8J0FjOQIDAQAB"
    Output for public key with the replaceAll call gives me:
    MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCg8yo6rDhsNiwUfVR37HgF4bWqoG13Nd9XLT+Z0VLzCkWJZOdzGNQnnm7ujoQ8gbxeDvIo9RG5I3eZteBwD91Nf6P/E9lvJQDL2Qnz4EXH/CVW9DeEfvY1UJN9kc6q6KkYEPWssvVvlDOp2slbEKZCJtaPvVuGCAqfaps8J0FjOQIDAQAB

  • General failure creating S/MIME digital signature

    Hai Ramesh,
    I followed the following thread in setting up the certificates
    Tech Note :  Oracle AS B2B - Security configuration
    Delivery channel setup when General failure encrypting S/MIME message error occured
    Host DC :
    I selected host certificate for both encryption and Non-Rep in creating Host DC.
    Remote TP DC:
    I selected remote TP certificate for both encryption and Non-Rep in creating remote TP DC.
    Delivery channel setup when General failure creating S/MIME digital signature error
    Host DC :
    I selected host certificate for Encryption and remote TP certificate for Non-Rep in creating host DC.
    Remote TP DC:
    I selected remote TP certificate for Encryption and host certificate for Non-Rep in creating remote TP DC
    What is correct way to setup certificates?
    Regards
    Praveen

    Hai
    Yes I set password correctly...
    What I observed after going through logs was
    its looking for /SLOTS/slot06/oracle/AS_10gR2_MID/wallet1 but I set
    /SLOTS/slot06/oracle/AS_10gR2_MID/ewallet.p12
    Why its looking for non-existing file....?
    Now logs shows
    oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Entering...
    2007.07.22 at 23:32:06:254: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Sign using the configured certificate
    2007.07.22 at 23:32:06:255: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign wrl: /SLOTS/slot06/oracle/AS_10gR2_MID
    2007.07.22 at 23:32:06:260: Thread-10: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2007.07.22 at 23:32:07:069: Thread-10: B2B - (DEBUG) Utility:getPrivateKey:matching private key found
    2007.07.22 at 23:32:07:069: Thread-10: B2B - (DEBUG) Utility:getPrivateKey:Exit
    2007.07.22 at 23:32:07:070: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /SLOTS/slot06/oracle/AS_10gR2_MID/wallet1
    2007.07.22 at 23:32:07:070: Thread-10: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2007.07.22 at 23:32:07:298: Thread-10: B2B - (ERROR) java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:392)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1195)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:712)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:855)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:595)
    2007.07.22 at 23:32:07:299: Thread-10: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1077)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:392)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1195)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:712)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:855)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         ... 10 more
    2007.07.22 at 23:32:07:300: Thread-10: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:434)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1195)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:712)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:855)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:595)
    2007.07.22 at 23:32:07:300: Thread-10: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:434)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1195)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:712)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:855)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1077)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:392)
         ... 9 more
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         ... 10 more
    2007.07.22 at 23:32:07:300: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2BDomainException
    2007.07.22 at 23:32:07:301: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -: AIP-51083: General failure creating S/MIME digital signature
    2007.07.22 at 23:32:07:301: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2007.07.22 at 23:32:07:301: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2007.07.22 at 23:32:07:302: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryBusinessMessage
    2007.07.22 at 23:32:07:317: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryBusinessMessage
    2007.07.22 at 23:32:07:318: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message not found.
    2007.07.22 at 23:32:07:318: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2007.07.22 at 23:32:07:319: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information

  • B2B General failure creating S/MIME digital signature.

    Hi,
    I am using Oracle SOA Suite 11.1.1.3 (PS2)
    When I am trying to send signed and encrypted messages to my remote trading partner following error occured
    B2B General failure creating S/MIME digital signature.
    Please help
    Thanks,
    Arun Jadhav

    Hi Nitesh,
    I am Using AS2 protocol with custom documents.
    I am using self signed certificates for sending messages.
    For sending AS2 messages we are using Host trading partner Private key and remote trading partner Public Key.
    When I process the message I am getting following error in Log file
    [2010-05-24T12:45:10.456-04:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@278d45c] [userId: <anonymous>] [ecid: 0000IZBD1L87MAYVLqATOA1BxKEY000qZU,0] [APP: soa-infra] [dcid: 1f4ff32b1ffab628:30ee325c:128b6113365:-7ffd-0000000000001c4c] Error -: B2B-51083: General failure creating S/MIME digital signature.: Error -: B2B-51083: General failure creating S/MIME digital signature.: java.lang.NullPointerException[[
         at oracle.tip.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:496)
         at oracle.tip.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1843)
         at oracle.tip.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:328)
         at oracle.tip.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:166)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1397)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: Error -: B2B-51083: General failure creating S/MIME digital signature.: java.lang.NullPointerException
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:715)
         at oracle.tip.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:466)
         ... 14 more
    Caused by: java.lang.NullPointerException
         at oracle.security.crypto.smime.SmimeMultipartSigned.addSignature(SmimeMultipartSigned.java:257)
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:683)
         ... 15 more
    Error -: B2B-51083: General failure creating S/MIME digital signature.: java.lang.NullPointerException
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:715)
         at oracle.tip.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:466)
         at oracle.tip.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1843)
         at oracle.tip.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:328)
         at oracle.tip.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:166)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1397)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: java.lang.NullPointerException
         at oracle.security.crypto.smime.SmimeMultipartSigned.addSignature(SmimeMultipartSigned.java:257)
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:683)
         ... 15 more
    Thanks,
    Arun Jadhav

  • Windows cannot verify the digital signature for the drivers required for this device. Code 52

    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52).
    I have reinstalled, uninstalled, the whole 9 yards.

    See the driver topic of:
    iOS: Device not recognized in iTunes for Windows
    I would start with:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • Windows cannot verify the digital signature for the drivers required for this device. A recent hardw

    windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is singned incorrectly or damaged, or that might be malicious software from unknown source (Code 52)

    Hi,
    What are you trying to do ? To help us answer question quicker, please read this:
       http://h30434.www3.hp.com/t5/First-Time-Here-Learn-How-to/Welcome-Get-started-here/td-p/699035
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for