C# Class CustomConfigurations.TripleDESProtectedConfigurationProvider

Inheritance: System.Configuration.ProtectedConfigurationProvider
Afficher le fichier Open project: twistedtwig/CustomConfigurations Class Usage Examples

Méthodes publiques

Méthode Description
CreateKey ( ) : void
Decrypt ( XmlNode encryptedNode ) : XmlNode
Encrypt ( XmlNode node ) : XmlNode
Initialize ( string name, NameValueCollection config ) : void

Private Methods

Méthode Description
ByteToHex ( byte byteArray ) : string
DecryptString ( string encryptedValue ) : string
EncryptString ( string encryptValue ) : string
HexToByte ( string hexString ) : byte[]
ReadKey ( string filePath ) : void

Method Details

CreateKey() public méthode

public CreateKey ( ) : void
Résultat void

Decrypt() public méthode

public Decrypt ( XmlNode encryptedNode ) : XmlNode
encryptedNode System.Xml.XmlNode
Résultat System.Xml.XmlNode

Encrypt() public méthode

public Encrypt ( XmlNode node ) : XmlNode
node System.Xml.XmlNode
Résultat System.Xml.XmlNode

Initialize() public méthode

public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
Résultat void