Defines how the certificate key can be used. If this value is not defined, the key can be used for any purpose.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in System.dll)
|No key usage parameters.|
|The key can be used for encryption only.|
|The key can be used to sign a certificate revocation list (CRL).|
|The key can be used to sign certificates.|
|The key can be used to determine key agreement, such as a key created using the Diffie-Hellman key agreement algorithm.|
|The key can be used for data encryption.|
|The key can be used for key encryption.|
|The key can be used for authentication.|
|The key can be used as a digital signature.|
|The key can be used for decryption only.|
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.