C# Class mRemoteNG.Config.Serializers.XmlConnectionsDocumentEncryptor

ファイルを表示 Open project: mRemoteNG/mRemoteNG Class Usage Examples

Public Methods

Method Description
EncryptDocument ( System.Xml.Linq.XDocument documentToEncrypt, SecureString encryptionKey ) : System.Xml.Linq.XDocument
XmlConnectionsDocumentEncryptor ( ICryptographyProvider cryptographyProvider ) : System.Security

Private Methods

Method Description
GetContentToEncrypt ( System.Xml.Linq.XNode element ) : string
ReplaceInnerXml ( System.Xml.Linq.XDocument originalDocument, string newContent ) : System.Xml.Linq.XDocument
ShallowCloneRootNode ( System.Xml.Linq.XElement originalElement ) : System.Xml.Linq.XElement

Method Details

EncryptDocument() public method

public EncryptDocument ( System.Xml.Linq.XDocument documentToEncrypt, SecureString encryptionKey ) : System.Xml.Linq.XDocument
documentToEncrypt System.Xml.Linq.XDocument
encryptionKey System.Security.SecureString
return System.Xml.Linq.XDocument

XmlConnectionsDocumentEncryptor() public method

public XmlConnectionsDocumentEncryptor ( ICryptographyProvider cryptographyProvider ) : System.Security
cryptographyProvider ICryptographyProvider
return System.Security