Colm O hEigeartaigh created WSS-450:
---------------------------------------

             Summary: Inbound Processing code fails with an Encrypted Signature
                 Key: WSS-450
                 URL: https://issues.apache.org/jira/browse/WSS-450
             Project: WSS4J
          Issue Type: Bug
            Reporter: Colm O hEigeartaigh
             Fix For: 2.0



The streaming inbound processing case fails on a message like the below 
(generated using the streaming code, with an Asymmetric Binding + 
sp:EncryptSignature):

BinarySecurityToken
EncryptedKey (ref BST above)
EncryptedData (encrypted Sig, ref EncryptedKey above)
BinarySecurityToken (referenced via the encrypted Signature)
(Encrypted/signed SOAP Body)

Error is: 

java.lang.IllegalStateException: javax.xml.stream.XMLStreamException: 
org.apache.wss4j.common.ext.WSSecurityException: Referenced Token 
"G3618ed5a-e569-4fd6-af3b-6255353dd2b7" not found
        at 
org.apache.xml.security.stax.impl.XMLSecurityStreamReader.getEventType(XMLSecurityStreamReader.java:386)

Can the Signature processing code not find a signing BST if it is after the 
Signature?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to