共用方式為


CertificateXmlEncryptor 建構函式

定義

多載

CertificateXmlEncryptor(X509Certificate2, ILoggerFactory)

建立指定的 CertificateXmlEncryptorX509Certificate2 實例和 IServiceProvider

CertificateXmlEncryptor(String, ICertificateResolver, ILoggerFactory)

建立 CertificateXmlEncryptor 指定的憑證指紋、 ICertificateResolver 可用來解析憑證的 ,以及 IServiceProvider

CertificateXmlEncryptor(X509Certificate2, ILoggerFactory)

來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
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)

來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
CertificateXmlEncryptor.cs
來源:
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

適用於