KeyNumber Enumeration
.NET Framework (current version)
Specifies whether to create an asymmetric signature key or an asymmetric exchange key.
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| 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. |
The following code example demonstrates how to use the KeyNumber enumeration to specify a key type for an RSACryptoServiceProvider object.
.NET Framework
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Show: