Click or drag to resize
MimeKit

X509KeyUsageBits Enumeration

X.509 key usage bits.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public enum X509KeyUsageBits
Members
Member nameValueDescription
DigitalSignature0 The key may be used for digitally signing data.
NonRepudiation1 The key may be used to verify digital signatures used to provide a non-repudiation service.
KeyEncipherment2 The key is meant to be used for key encipherment.
DataEncipherment3 The key may be used for data encipherment.
KeyAgreement4 The key is meant to be used for key agreement.
KeyCertSign5 The key may be used for verifying signatures on certificates.
CrlSign6 The key may be used for verifying signatures on certificate revocation lists (CRLs).
EncipherOnly7 The key may only be used for enciphering data during key agreement.
DecipherOnly8 The key may only be used for deciphering data during key agreement.
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.

See Also