ProtectedKey Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The ProtectedKey type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateFromEncryptedKey
Constructor method used to create a new ProtectedKey from an already encrypted symmetric key.
Public methodStatic member CreateFromPlaintextKey
Constructor method use to create a new ProtectedKey from a plaintext symmetric key. The caller of this method is responsible for clearing the byte array containing the plaintext key after calling this method.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Unprotect
Returns the decrypted symmetric key.

Properties

  Name Description
Public property DecryptedKey
Gets the decrypted key protected by this object. It is the responsibility of the caller of this method to clear the returned byte array.
Public property EncryptedKey
Gets the encrypted key contained by this object.

See Also

ProtectedKey Class

Microsoft.Practices.EnterpriseLibrary.Security.Cryptography Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.