Decrypt an XML document according to the XSPP.
Namespace: Nehta.VendorLibrary.SM.SMDAssembly: Nehta.VendorLibrary.SM.SMD (in Nehta.VendorLibrary.SM.SMD.dll) Version: 1.0.5.0 (1.0.5.0)
Syntax
C# |
---|
public static XmlDocument XspDecrypt( this XmlDocument encryptedDocument, X509Certificate2 decryptionCert ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function XspDecrypt ( _ encryptedDocument As XmlDocument, _ decryptionCert As X509Certificate2 _ ) As XmlDocument |
Visual C++ |
---|
[ExtensionAttribute] public: static XmlDocument^ XspDecrypt( XmlDocument^ encryptedDocument, X509Certificate2^ decryptionCert ) |
Parameters
- encryptedDocument
- Type: System.Xml..::..XmlDocument
The XML document to be decrypted.
- decryptionCert
- Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2
The certificate to decrypt the XML document with.