mscorlib 2.0.0.0 4.0.0.0 System.Object System.Runtime.InteropServices.ComVisible(true)

Use this class to obtain additional information about a key pair, such as the key container name or the key number.

In cases where a random key is generated by the or the , a key container will not be created until you call a method that uses the key. Some properties of the class will throw a if a key container has not been created.

Provides additional information about a cryptographic key pair. This class cannot be inherited.

- Constructor
  2.0.0.0
  4.0.0.0
  To be added.

  Initializes a new instance of the class using the specified parameters.

  A object that provides information about the key.
- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets a value indicating whether a key in a key container is accessible.

- Property
  2.0.0.0
  4.0.0.0
  System.Security.AccessControl.CryptoKeySecurity To be added.

  Use the property to retrieve the object that manages the creation of discretionary access control lists (DACLS) and system access control lists (SACLS) for a container.

  Gets a object that represents access rights and audit rules for a container.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets a value indicating whether a key can be exported from a key container.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets a value indicating whether a key is a hardware key.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added. To be added.

  Gets a key container name.

- Property
  2.0.0.0
  4.0.0.0
  System.Security.Cryptography.KeyNumber To be added.

  The value of the property is derived from the field of the object that was used to initialize the object.

  An exchange key is an asymmetric key pair used to encrypt session keys so that they can be safely stored and exchanged with other users. The value specifies an exchange key. This value corresponds to the value used in the unmanaged Microsoft Cryptographic API (CAPI).

  A signature key is an asymmetric key pair used for authenticating (digitally signed) messages or files. The value specifies a signature key. This value corresponds to the value used in CAPI.

  Gets a value that describes whether an asymmetric key was created as a signature key or an exchange key.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets a value indicating whether a key is from a machine key set.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets a value indicating whether a key pair is protected.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  This property specifies the cryptographic service provider that created the key.

  Gets the provider name of a key.

- Property
  2.0.0.0
  4.0.0.0
  System.Int32 To be added.

  Valid values are determined by the cryptographic service provider used to create the key. Cryptographic service providers are generally organized into groups or families, each of which has its own set of data formats and processes. Two families that use the same algorithm, such as the RC2 block cipher, often use different padding schemes, different key lengths, and different default modes.

  Gets the provider type of a key.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added.

  Usually, when a randomly generated key container is created, the key container is named "CLR{}."

  Gets a value indicating whether a key container was randomly generated by a managed cryptography class.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets a value indicating whether a key can be removed from a key container.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added. To be added.

  Gets a unique key container name.