DpapiNGXmlDecryptor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IXmlDecryptor that decrypts XML elements that were encrypted with DpapiNGXmlEncryptor.
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
- Inheritance
-
DpapiNGXmlDecryptor
- Implements
Remarks
This API is only supported on Windows 8 / Windows Server 2012 and higher.
Constructors
DpapiNGXmlDecryptor() |
Creates a new instance of a DpapiNGXmlDecryptor. |
DpapiNGXmlDecryptor(IServiceProvider) |
Creates a new instance of a DpapiNGXmlDecryptor. |
Methods
Decrypt(XElement) |
Decrypts the specified XML element. |