CertificateXmlEncryptor Constructors

Definition

Overloads

CertificateXmlEncryptor(X509Certificate2, ILoggerFactory)

Creates a CertificateXmlEncryptor given an X509Certificate2 instance and an IServiceProvider.

CertificateXmlEncryptor(String, ICertificateResolver, ILoggerFactory)

Creates a CertificateXmlEncryptor given a certificate's thumbprint, an ICertificateResolver that can be used to resolve the certificate, and an IServiceProvider.

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

Creates a CertificateXmlEncryptor given an X509Certificate2 instance and an IServiceProvider.

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)

Parameters

certificate
X509Certificate2
loggerFactory
ILoggerFactory

Applies to

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

Creates a CertificateXmlEncryptor given a certificate's thumbprint, an ICertificateResolver that can be used to resolve the certificate, and an 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)

Parameters

thumbprint
String
certificateResolver
ICertificateResolver
loggerFactory
ILoggerFactory

Applies to