DpapiNGXmlDecryptor 类

定义

一个 , IXmlDecryptor 用于解密使用 DpapiNGXmlEncryptor加密的 XML 元素。

public ref class DpapiNGXmlDecryptor sealed : Microsoft::AspNetCore::DataProtection::XmlEncryption::IXmlDecryptor
public sealed class DpapiNGXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor
type DpapiNGXmlDecryptor = class
    interface IXmlDecryptor
Public NotInheritable Class DpapiNGXmlDecryptor
Implements IXmlDecryptor
继承
DpapiNGXmlDecryptor
实现

注解

此 API 仅在 Windows 8/Windows Server 2012 及更高版本上受支持。

构造函数

DpapiNGXmlDecryptor()

创建 的新 DpapiNGXmlDecryptor实例。

DpapiNGXmlDecryptor(IServiceProvider)

创建 的新 DpapiNGXmlDecryptor实例。

方法

Decrypt(XElement)

解密指定的 XML 元素。

适用于