I have to create a xml document signed by a X509 cert. Somewhere in the header of the xml document, I have to insert a binary token (base64 encoded) representated the cert. How can I get it?
For the ValueType attribute of the BinarySecurityToken, it is using http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3 as the type.
Thanks in advance.