[
https://issues.apache.org/jira/browse/WSS-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703226#action_12703226
]
Nitin Handa commented on WSS-179:
---------------------------------
Hi Colm,
Can we also use DirectReference here?
owsm sample message is like below:-
<wsse:SecurityTokenReference
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">
<wsse:Reference
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"
URI="#EK-2deZQwKG5A6NaqfWCcmbQw22"
ValueType="http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#*EncryptedKey*"/>
</wsse:SecurityTokenReference>
Please note value of "ValueType" in this case.
Thanks
Nitin
> Allow signature using a symmetric key and EncryptedKeySHA1
> ----------------------------------------------------------
>
> Key: WSS-179
> URL: https://issues.apache.org/jira/browse/WSS-179
> Project: WSS4J
> Issue Type: Improvement
> Components: WSS4J Core
> Affects Versions: 1.5.7
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Fix For: 1.5.8, 1.6
>
>
> This task is to allow WSSecSignature to take in a SecretKey object or an
> array of bytes representing a symmetric key, and use it to sign data. The key
> will be referenced using EncryptedKeySHA1.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]