KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cert_sign
def cert_sign() -> ::Boolean
Returns
- (::Boolean) — The key may be used to sign certificates.
#cert_sign=
def cert_sign=(value) -> ::Boolean
Parameter
- value (::Boolean) — The key may be used to sign certificates.
Returns
- (::Boolean) — The key may be used to sign certificates.
#content_commitment
def content_commitment() -> ::Boolean
Returns
- (::Boolean) — The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation".
#content_commitment=
def content_commitment=(value) -> ::Boolean
Parameter
- value (::Boolean) — The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation".
Returns
- (::Boolean) — The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation".
#crl_sign
def crl_sign() -> ::Boolean
Returns
- (::Boolean) — The key may be used sign certificate revocation lists.
#crl_sign=
def crl_sign=(value) -> ::Boolean
Parameter
- value (::Boolean) — The key may be used sign certificate revocation lists.
Returns
- (::Boolean) — The key may be used sign certificate revocation lists.
#data_encipherment
def data_encipherment() -> ::Boolean
Returns
- (::Boolean) — The key may be used to encipher data.
#data_encipherment=
def data_encipherment=(value) -> ::Boolean
Parameter
- value (::Boolean) — The key may be used to encipher data.
Returns
- (::Boolean) — The key may be used to encipher data.
#decipher_only
def decipher_only() -> ::Boolean
Returns
- (::Boolean) — The key may be used to decipher only.
#decipher_only=
def decipher_only=(value) -> ::Boolean
Parameter
- value (::Boolean) — The key may be used to decipher only.
Returns
- (::Boolean) — The key may be used to decipher only.
#digital_signature
def digital_signature() -> ::Boolean
Returns
- (::Boolean) — The key may be used for digital signatures.
#digital_signature=
def digital_signature=(value) -> ::Boolean
Parameter
- value (::Boolean) — The key may be used for digital signatures.
Returns
- (::Boolean) — The key may be used for digital signatures.
#encipher_only
def encipher_only() -> ::Boolean
Returns
- (::Boolean) — The key may be used to encipher only.
#encipher_only=
def encipher_only=(value) -> ::Boolean
Parameter
- value (::Boolean) — The key may be used to encipher only.
Returns
- (::Boolean) — The key may be used to encipher only.
#key_agreement
def key_agreement() -> ::Boolean
Returns
- (::Boolean) — The key may be used in a key agreement protocol.
#key_agreement=
def key_agreement=(value) -> ::Boolean
Parameter
- value (::Boolean) — The key may be used in a key agreement protocol.
Returns
- (::Boolean) — The key may be used in a key agreement protocol.
#key_encipherment
def key_encipherment() -> ::Boolean
Returns
- (::Boolean) — The key may be used to encipher other keys.
#key_encipherment=
def key_encipherment=(value) -> ::Boolean
Parameter
- value (::Boolean) — The key may be used to encipher other keys.
Returns
- (::Boolean) — The key may be used to encipher other keys.