【问题标题】:Can X509SubjectName be included when signing Saml2AuthnResponse?签署 Saml2AuthnResponse 时可以包含 X509SubjectName 吗?
【发布时间】:2022-10-23 18:47:32
【问题描述】:

我创建了一个 Saml2AuthnResponse 并将其传递给 Saml2PostBinding.Bind()

X509Data 节点不包含 X509SubjectName 尽管我的证书显然有一个。 这个怎么加? 另外,标准前缀“ds:”可以添加到所有签名节点吗?

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
            ...
            <KeyInfo>
                <X509Data>
-missing <X509SubjectName> should be here-
                    <X509Certificate>...cert data...

【问题讨论】:

    标签: itfoxtec-identity-saml2


    【解决方案1】:

    ITfoxtec Identity SAML 组件使用 .NET 库添加生成响应并添加证书。恐怕我不支持您的要求。

    如果您弄明白了,欢迎您按照拉取请求进行操作。
    Github 仓库https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2

    【讨论】:

      猜你喜欢
      • 2023-04-03
      • 2015-12-26
      • 1970-01-01
      • 2014-08-01
      • 1970-01-01
      • 1970-01-01
      • 2019-11-10
      • 1970-01-01
      • 2011-01-10
      相关资源
      最近更新 更多