C# Class WebApplications.Utilities.Cryptography.XmlCryptoExtensions

显示文件 Open project: webappsuk/CoreLibraries

Public Methods

Method Description
TryDecrypt ( [ inputNode, [ provider, System.Xml.Linq.XElement &decryptedXml ) : bool

Decrypts a XNode.

TryDecrypt ( [ inputNode, [ provider, XmlElement &decryptedXml ) : bool

Decrypts a XmlNode.

Private Methods

Method Description
Decrypt ( [ inputNode, [ cryptographyProvider ) : System.Xml.Linq.XElement
Decrypt ( [ inputNode, [ cryptographyProvider ) : XmlElement
Encrypt ( [ inputNode, [ provider ) : System.Xml.Linq.XElement
Encrypt ( [ inputNode, [ provider ) : XmlElement

Method Details

TryDecrypt() public static method

Decrypts a XNode.
///
public static TryDecrypt ( [ inputNode, [ provider, System.Xml.Linq.XElement &decryptedXml ) : bool
inputNode [ The input node.
provider [ The cryptography provider.
decryptedXml System.Xml.Linq.XElement The decrypted XML.
return bool

TryDecrypt() public static method

Decrypts a XmlNode.
///
public static TryDecrypt ( [ inputNode, [ provider, XmlElement &decryptedXml ) : bool
inputNode [ The input node.
provider [ The cryptography provider.
decryptedXml System.Xml.XmlElement The decrypted XML.
return bool