【发布时间】:2017-03-23 16:28:01
【问题描述】:
身份提供者正在使用组件 pro 的功能对 Saml 断言进行加密
Dim encryptedSamlAssertion As New EncryptedAssertion(samlAssertion, encryptingCert, New System.Security.Cryptography.Xml.EncryptionMethod(SamlKeyAlgorithm.Aes256Cbc))
在服务提供商处,我正在尝试解密断言。但我不能使用组件专业版。我必须使用 System.Security.Cryptography
- X509Certificate用于加解密
- Aes256Cbc 是加密算法
请帮助我提供更多信息,了解如何使用 X509Certificate 和 Aes256Cbc 算法实现 SamlAssertions 解密
【问题讨论】:
标签: c# .net saml-2.0 x509certificate2 aescryptoserviceprovider