[xmlsec] DigestMethod Algorithm identifier for sha-256 ?

Edward Shallow ed.shallow at rogers.com
Fri Sep 2 09:45:37 PDT 2005


Hi Aleksey,

   Got everything working with OpenSSL-0.9.8 and xmlsec1-1.2.9 Thanks

   The SignatureMethod Algorithm for sha-256 below is OK, but the
Algorithm id for the DigestmMethod is not good. 

I also tried http://www.w3.org/2000/09/xmldsig#sha256 not good either.

What should the DigestMethod Algorithm for sha-256 be ?

Thanks,
Ed
  

<dsig:SignedInfo>
    <dsig:CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
        <dsig:SignatureMethod
Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
        <dsig:Reference URI="#SignedContent">
            <dsig:DigestMethod
Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha256"/>
            <dsig:DigestValue></dsig:DigestValue>
        </dsig:Reference>
    </dsig:SignedInfo




More information about the xmlsec mailing list