C# Class mRemoteNG.Config.Serializers.XmlConnectionsDecryptor

Datei anzeigen Open project: mRemoteNG/mRemoteNG Class Usage Examples

Public Methods

Method Description
ConnectionsFileIsAuthentic ( string protectedString, SecureString password ) : bool
Decrypt ( string plainText ) : string
LegacyFullFileDecrypt ( string xml ) : string
XmlConnectionsDecryptor ( BlockCipherEngines blockCipherEngine, BlockCipherModes blockCipherMode, RootNodeInfo rootNodeInfo ) : System
XmlConnectionsDecryptor ( RootNodeInfo rootNodeInfo ) : System

Private Methods

Method Description
Authenticate ( string cipherText, SecureString password ) : bool

Method Details

ConnectionsFileIsAuthentic() public method

public ConnectionsFileIsAuthentic ( string protectedString, SecureString password ) : bool
protectedString string
password System.Security.SecureString
return bool

Decrypt() public method

public Decrypt ( string plainText ) : string
plainText string
return string

LegacyFullFileDecrypt() public method

public LegacyFullFileDecrypt ( string xml ) : string
xml string
return string

XmlConnectionsDecryptor() public method

public XmlConnectionsDecryptor ( BlockCipherEngines blockCipherEngine, BlockCipherModes blockCipherMode, RootNodeInfo rootNodeInfo ) : System
blockCipherEngine BlockCipherEngines
blockCipherMode BlockCipherModes
rootNodeInfo RootNodeInfo
return System

XmlConnectionsDecryptor() public method

public XmlConnectionsDecryptor ( RootNodeInfo rootNodeInfo ) : System
rootNodeInfo RootNodeInfo
return System