X509KeyUsageBits Enumeration

X.509 key usage bits.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public enum X509KeyUsageBits

Remarks

The X.509 Key Usage Bits can be used to determine what operations a certificate can be used for which is similar to X509KeyUsageFlags but the usage of this is enum represents a position in a bit array.

Members

DigitalSignature 0 The key may be used for digitally signing data.
NonRepudiation 1 The key may be used to verify digital signatures used to provide a non-repudiation service.
KeyEncipherment 2 The key is meant to be used for key encipherment.
DataEncipherment 3 The key may be used for data encipherment.
KeyAgreement 4 The key is meant to be used for key agreement.
KeyCertSign 5 The key may be used for verifying signatures on certificates.
CrlSign 6 The key may be used for verifying signatures on certificate revocation lists (CRLs).
EncipherOnly 7 The key may only be used for enciphering data during key agreement.
DecipherOnly 8 The key may only be used for deciphering data during key agreement.

See Also