IKey Interface

Definition

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.

Applies to