OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

security-services message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Query submitted to saml.xml.org


http://saml.xml.org/forum/calculating-digest-of-an-authentication-statement

Dear Sirs, my name is Gianluca from Italy
 I'm trying to calculate the Digest value of a SAML Authentication
STatement whith the SHA-1 algorithm. Let us suppose that we are dealing
with a string representing the following node:

<saml:AuthenticationStatement>
    <saml:Subject>
        <saml:NameIdentifier>GIANLUCA</saml:NameIdentifier>
    </saml:Subject>
</saml:AuthenticationStatement>

When I try to calculate SHA-1 with the function  b64_sha1(str2Digest)  what
exactly should the string str2Digest contain? I mean it should be equal to
"<saml:AuthenticationStatement><saml:Subject><saml:NameIdentifier>GIANLUCA<
/saml:NameIdentifier></saml:Subject></saml:AuthenticationStatement>"
or only "GIANLUCA" or ....what else?

Thank you in advance for help.

-- 
Paul Madsen            e:paulmadsen @ ntt-at.com
NTT                    p:613-482-0432
                       m:613-302-1428
                       aim:PaulMdsn5
                       web:connectid.blogspot.com 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]