C# 使用.NET解码并检查SAML 1.1签名
我用这样的东西来验证我的SAML1.1,它正在工作 但是我可以看到framework.NET中有一些类似乎在谈论SAML 但我无法使用某些东西 我的分层点是如下所示的XML:C# 使用.NET解码并检查SAML 1.1签名,c#,.net,saml,C#,.net,Saml,我用这样的东西来验证我的SAML1.1,它正在工作 但是我可以看到framework.NET中有一些类似乎在谈论SAML 但我无法使用某些东西 我的分层点是如下所示的XML: <samlp:Response ResponseID="xxx" MajorVersion="1" MinorVersion="1" IssueInstant="..." Recipient="xxx" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol">
<samlp:Response ResponseID="xxx" MajorVersion="1" MinorVersion="1" IssueInstant="..." Recipient="xxx" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol">
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
[...]
<ds:SignatureValue>xxx</ds:SignatureValue>
</ds:Signature>
<samlp:Status>
<samlp:StatusCode Value="samlp:Success"/>
</samlp:Status>
<saml:Assertion MajorVersion="1" MinorVersion="1" AssertionID="xxx" IssueInstant="..." Issuer="xxx" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
<saml:Conditions NotBefore="..." NotOnOrAfter="..."/>
<saml:AuthenticationStatement AuthenticationInstant="..." AuthenticationMethod="...">
<saml:Subject>
<saml:NameIdentifier Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">xxx</saml:NameIdentifier>
<saml:SubjectConfirmation>
<saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:...</saml:ConfirmationMethod>
</saml:SubjectConfirmation>
</saml:Subject>
</saml:AuthenticationStatement>
</saml:Assertion>
</samlp:Response>
[...]
xxx
xxx
urn:oasis:name:tc:SAML:1.0:。。。
有什么建议吗
提前谢谢你有什么问题?你们想达到什么目的?为什么失败?我想使用内置的核心对象,它似乎就是为了达到这个目的