Click or drag to resize
MimeKit

X509KeyUsageFlags Enumeration

X.509 key usage flags.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
[FlagsAttribute]
public enum X509KeyUsageFlags
Members
Member nameValueDescription
None0 No limitations for the key usage are set.
EncipherOnly1 The key may only be used for enciphering data during key agreement.
CrlSign2 The key may be used for verifying signatures on certificate revocation lists (CRLs).
KeyCertSign4 The key may be used for verifying signatures on certificates.
KeyAgreement8 The key is meant to be used for key agreement.
DataEncipherment16 The key may be used for data encipherment.
KeyEncipherment32 The key is meant to be used for key encipherment.
NonRepudiation64 The key may be used to verify digital signatures used to provide a non-repudiation service.
DigitalSignature128 The key may be used for digitally signing data.
DecipherOnly32,768 The key may only be used for deciphering data during key agreement.
Remarks

The X.509 Key Usage Flags can be used to determine what operations a certificate can be used for.

Tip  Tip
A value of None indicates that there are no restrictions on the use of the X509Certificate.
See Also