System::Security::Cryptography::X509Certificates::X509KeyUsageFlags enum

X509KeyUsageFlags enum

Defines how the certificate key can be used.

enum class X509KeyUsageFlags : int32_t

Values

NameValueDescription
None0No key usage parameters.
EncipherOnly1Key can be used only for encryption.
CrlSign2Key can be used to sign a certificate revocation list.
KeyCertSign4Key can be used to sign certificates.
KeyAgreement8Key can be used to determine key agreement.
DataEncipherment16Key can be used for data encryption.
KeyEncipherment32Key can be used for key encryption.
NonRepudiation64Key can be used for authentication.
DigitalSignature128Key can be used as a digital signature.
DecipherOnly32768Key can be used only for decryption.

See Also