ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WSS-493) NPE calling org.apache.ws.security.components.crypto.Crypto.loadCertificate(java.io.InputStream)
Date Mon, 24 Feb 2014 10:01:22 GMT

    [ https://issues.apache.org/jira/browse/WSS-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910154#comment-13910154
] 

Colm O hEigeartaigh commented on WSS-493:
-----------------------------------------


What's the exact stack trace? If the KeyIdentifier is Subject Key Identifier, and there is
no certificate included in the request, then you will need the certificate in the keystore
as well as the private key.

Colm.

> NPE calling org.apache.ws.security.components.crypto.Crypto.loadCertificate(java.io.InputStream)

> -------------------------------------------------------------------------------------------------
>
>                 Key: WSS-493
>                 URL: https://issues.apache.org/jira/browse/WSS-493
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 1.5.7
>            Reporter: Carls Dias
>            Assignee: Colm O hEigeartaigh
>
> I'm building a simple scenario where I try to decrypt a message. The key identifier is
the Subject Key Identifier. I loaded my private key to the key strore.
> Ther error is: java.lang.NullPointerException: while trying to invoke the method org.apache.ws.security.components.crypto.Crypto.loadCertificate(java.io.InputStream)
of an object loaded from local variable 'crypto'



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message