Compartir a través de


CertificateXmlEncryptor Clase

Definición

que IXmlEncryptor puede realizar el cifrado XML mediante un certificado X.509.

public ref class CertificateXmlEncryptor sealed : Microsoft::AspNetCore::DataProtection::XmlEncryption::IXmlEncryptor
public sealed class CertificateXmlEncryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlEncryptor
type CertificateXmlEncryptor = class
    interface IXmlEncryptor
Public NotInheritable Class CertificateXmlEncryptor
Implements IXmlEncryptor
Herencia
CertificateXmlEncryptor
Implementaciones

Constructores

CertificateXmlEncryptor(String, ICertificateResolver, ILoggerFactory)

Crea una CertificateXmlEncryptor huella digital determinada de un certificado, que ICertificateResolver se puede usar para resolver el certificado y un IServiceProvider.

CertificateXmlEncryptor(X509Certificate2, ILoggerFactory)

Crea una CertificateXmlEncryptorX509Certificate2 instancia determinada de y un IServiceProviderobjeto .

Métodos

Encrypt(XElement)

Cifra el objeto especificado XElement con un certificado X.509.

Se aplica a