CertificateXmlEncryptor 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CertificateXmlEncryptor(X509Certificate2, ILoggerFactory)
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
public:
CertificateXmlEncryptor(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public CertificateXmlEncryptor (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateXmlEncryptor : System.Security.Cryptography.X509Certificates.X509Certificate2 * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateXmlEncryptor
Public Sub New (certificate As X509Certificate2, loggerFactory As ILoggerFactory)
参数
- certificate
- X509Certificate2
- loggerFactory
- ILoggerFactory
适用于
CertificateXmlEncryptor(String, ICertificateResolver, ILoggerFactory)
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
- Source:
- CertificateXmlEncryptor.cs
CertificateXmlEncryptor创建给定证书的指纹、ICertificateResolver可用于解析证书的 和 IServiceProvider。
public:
CertificateXmlEncryptor(System::String ^ thumbprint, Microsoft::AspNetCore::DataProtection::XmlEncryption::ICertificateResolver ^ certificateResolver, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public CertificateXmlEncryptor (string thumbprint, Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver certificateResolver, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateXmlEncryptor : string * Microsoft.AspNetCore.DataProtection.XmlEncryption.ICertificateResolver * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.XmlEncryption.CertificateXmlEncryptor
Public Sub New (thumbprint As String, certificateResolver As ICertificateResolver, loggerFactory As ILoggerFactory)
参数
- thumbprint
- String
- certificateResolver
- ICertificateResolver
- loggerFactory
- ILoggerFactory