Export (0) Print
Expand All

EncryptedXml Methods

The EncryptedXml type exposes the following members.

  NameDescription
Public method AddKeyNameMapping Defines a mapping between a key name and a symmetric key or an asymmetric key.
Public method ClearKeyNameMappings Resets all key name mapping.
Public method DecryptData Decrypts an <EncryptedData> element using the specified symmetric algorithm.
Public method DecryptDocument Decrypts all <EncryptedData> elements of the XML document that were specified during initialization of the EncryptedXml class.
Public method DecryptEncryptedKey Determines the key represented by the EncryptedKey element.
Public method Static member DecryptKey Overloaded. Decrypts an <EncryptedKey> element.
Public method Encrypt Overloaded. Encrypts the outer XML of an element using the specified certificate or key in the key mapping table.
Public method EncryptData Overloaded. Encrypts XML data using a symmetric algorithm.
Public method Static member EncryptKey Overloaded. Encrypts the key that a recipient uses to decrypt an <EncryptedData> element.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetDecryptionIV Retrieves the decryption initialization vector (IV) from an EncryptedData object.
Public method GetDecryptionKey Retrieves the decryption key from the specified EncryptedData object.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIdElement Determines how to resolve internal Uniform Resource Identifier (URI) references.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReplaceData Replaces an <EncryptedData> element with a specified decrypted sequence of bytes.
Public method Static member ReplaceElement Replaces the specified element with the specified EncryptedData object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft