Class KeyUsageOptions (1.1.0)

KeyUsageOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3.

Attributes

NameDescription
digital_signature bool
The key may be used for digital signatures.
content_commitment bool
The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation".
key_encipherment bool
The key may be used to encipher other keys.
data_encipherment bool
The key may be used to encipher data.
key_agreement bool
The key may be used in a key agreement protocol.
cert_sign bool
The key may be used to sign certificates.
crl_sign bool
The key may be used sign certificate revocation lists.
encipher_only bool
The key may be used to encipher only.
decipher_only bool
The key may be used to decipher only.