[xmlsec] signature and X509SubjectName
Roumen Petrov
help at roumenpetrov.info
Fri Jun 27 05:21:56 PDT 2003
Hi all
I would like to sing a file (sample follow):
==========================================================
<?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns="urn:envelope">
<Data>
Hello, World!
</Data>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
<SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="http://www.w3.org/TR/xml-stylesheet">
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue></DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>
</SignatureValue>
<KeyInfo>
<X509Data>
<X509SubjectName/>
</X509Data>
</KeyInfo>
</Signature>
</Envelope>
==========================================================
but in KeyInfo I wold like in X509Data to have X509SubjectName instead
of X509Certificate.
How to do this ?
Roumen Petrov
More information about the xmlsec
mailing list