[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-dev
Subject:    [jira] [Commented] (WSS-493) NPE calling org.apache.ws.security.components.crypto.Crypto.loadCertifi
From:       "Colm O hEigeartaigh (JIRA)" <jira () apache ! org>
Date:       2014-02-24 10:01:22
Message-ID: JIRA.12696691.1393030579837.91282.1393236082642 () arcas
[Download RAW message or body]


    [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic