System.Security.Cryptography.KeyNumber Enumeration

Specifies whether to create an asymmetric signature key or an asymmetric exchange key.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum KeyNumber

Remarks

Use the System.Security.Cryptography.KeyNumber enumeration with the CspKeyContainerInfo.KeyNumber property to inspect a key type or with the CspParameters.KeyNumber field to specify a key type.

Members

Member NameDescription
Exchange

An exchange key pair used to encrypt session keys so that they can be safely stored and exchanged with other users.

Signature

A signature key pair used for authenticating digitally signed messages or files.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0