我正在研究由 idp 发起的身份验证。我创建了一个要发送给 SalesForce 的响应,但在某一点上卡住了。请参阅下面的 XML 代码。告诉我从哪里可以获得要填写这些标签的值。
<SignatureValue>, <X509Certificate>
和<DigestMethod>
XML 代码:这是 IDP 发布到 SP 以进行身份验证的 SAMLAssertion 的一部分。
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="#s2541b842781b7edbe3b3077bf7d11bae88eaa73e7">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>MnTEd3S3uu7MvGAFE5iB8DEhr9U=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>Jf/FNn5309vTWMKJ1o5sdMV/tY/Y+LV3F2eK4+LaIlmKYUHPInX4h+mUg3ef3IXTJ16aYu0A7aRK dHMc3UDF5BlMvfOEpGMEdARQY0O+VzkLJjZMDKG3DlSpfcVZrw/rm4wlZ6oYwhZEOhS0Gi3OOoeR jQn1ONABsfiprr1BYYo=</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIEijCCA/OgAwIBAgIQPn+ClEjH2V3Jynt7u3v+XzANBgkqhkiG9w0BAQUFADCBujEfMB0 GA1UEChMWVmVyaVNpZ24gVoycE7oe0xvQEad1Hs6xHCRDbJVIr4=</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>