【发布时间】:2020-09-28 12:56:03
【问题描述】:
任何人都可以解释在与 ADFS 交谈时将“范围证书”附加到 WSTrustChannelFactory 的 ServiceCertificate 集合的目的吗?我在一个旧的继承项目中找到了下面的代码,这个想法似乎是使用令牌签名证书,但它似乎适用于任何证书。这个证书会被使用吗?
var wsTrustChannelFactory = new WSTrustChannelFactory(stsBinding, stsAddress);
...
wsTrustChannelFactory.Credentials.ServiceCertificate.ScopedCertificates.Add(
stsAddress.Uri,
stsEncryptionCert);
【问题讨论】:
标签: wcf wif wcf-security