Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
SOAP Message Signature (KeyInfo fields)
George G Miller
posted 2 years ago
I am trying to set up my Signature for a
message. The only part I have left is to populate KeyInfo as such:
<KeyInfo> <wsse:SecurityTokenReference> <wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</wsse:KeyIdentifier> </wsse:SecurityTokenReference> </KeyInfo>
I have tried a number of methods, but I have been unable to achieve this using KeyInfo and
If this is the wrong way to do it, how do i make sure that KeyInfo is populated as part of my signature?
XMLSignature signature = signatureFactory.newXMLSignature(signedinfo,keyinfo)
I am able to add in X509 info, but i do not see a way to add SecurityTokenReference
I have found many resources online describing the expected signature, but no
examples. I am providing the certificate as a binarySecurityToken.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
How to create a SOAP request Message from a sample XML
Interoperability between WCF and WSIT
xws secuirty Encryption and signature Exception
Problem while Encrypting SOAP body using Metro
Adding WS Security Info to Soap Header