IKey Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The basic interface for representing an authenticated encryption key.
public interface class IKey
public interface IKey
type IKey = interface
Public Interface IKey
Properties
ActivationDate |
The date at which encryptions with this key can begin taking place. |
CreationDate |
The date on which this key was created. |
Descriptor |
Gets the IAuthenticatedEncryptorDescriptor instance associated with this key. |
ExpirationDate |
The date after which encryptions with this key may no longer take place. |
IsRevoked |
Returns a value stating whether this key was revoked. |
KeyId |
The id of the key. |
Methods
CreateEncryptor() |
Creates an IAuthenticatedEncryptor instance that can be used to encrypt data to and decrypt data from this key. |
CreateEncryptorInstance() |
Creates an IAuthenticatedEncryptor instance that can be used to encrypt data to and decrypt data from this key. |