class Google::Apis::PrivatecaV1beta1::KeyUsageOptions
KeyUsage
.KeyUsageOptions corresponds to the key usage values described in tools.ietf.org/html/rfc5280#section-4.2.1.3.
Attributes
The key may be used to sign certificates. Corresponds to the JSON property `certSign` @return [Boolean]
The key may be used to sign certificates. Corresponds to the JSON property `certSign` @return [Boolean]
The key may be used for cryptographic commitments. Note that this may also be referred to as “non-repudiation”. Corresponds to the JSON property `contentCommitment` @return [Boolean]
The key may be used for cryptographic commitments. Note that this may also be referred to as “non-repudiation”. Corresponds to the JSON property `contentCommitment` @return [Boolean]
The key may be used sign certificate revocation lists. Corresponds to the JSON property `crlSign` @return [Boolean]
The key may be used sign certificate revocation lists. Corresponds to the JSON property `crlSign` @return [Boolean]
The key may be used to encipher data. Corresponds to the JSON property `dataEncipherment` @return [Boolean]
The key may be used to encipher data. Corresponds to the JSON property `dataEncipherment` @return [Boolean]
The key may be used to decipher only. Corresponds to the JSON property `decipherOnly` @return [Boolean]
The key may be used to decipher only. Corresponds to the JSON property `decipherOnly` @return [Boolean]
The key may be used for digital signatures. Corresponds to the JSON property `digitalSignature` @return [Boolean]
The key may be used for digital signatures. Corresponds to the JSON property `digitalSignature` @return [Boolean]
The key may be used to encipher only. Corresponds to the JSON property `encipherOnly` @return [Boolean]
The key may be used to encipher only. Corresponds to the JSON property `encipherOnly` @return [Boolean]
The key may be used in a key agreement protocol. Corresponds to the JSON property `keyAgreement` @return [Boolean]
The key may be used in a key agreement protocol. Corresponds to the JSON property `keyAgreement` @return [Boolean]
The key may be used to encipher other keys. Corresponds to the JSON property `keyEncipherment` @return [Boolean]
The key may be used to encipher other keys. Corresponds to the JSON property `keyEncipherment` @return [Boolean]
Public Class Methods
# File lib/google/apis/privateca_v1beta1/classes.rb, line 1231 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/privateca_v1beta1/classes.rb, line 1236 def update!(**args) @cert_sign = args[:cert_sign] if args.key?(:cert_sign) @content_commitment = args[:content_commitment] if args.key?(:content_commitment) @crl_sign = args[:crl_sign] if args.key?(:crl_sign) @data_encipherment = args[:data_encipherment] if args.key?(:data_encipherment) @decipher_only = args[:decipher_only] if args.key?(:decipher_only) @digital_signature = args[:digital_signature] if args.key?(:digital_signature) @encipher_only = args[:encipher_only] if args.key?(:encipher_only) @key_agreement = args[:key_agreement] if args.key?(:key_agreement) @key_encipherment = args[:key_encipherment] if args.key?(:key_encipherment) end