class Google::Apis::PrivatecaV1::KeyUsageOptions

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

Attributes

cert_sign[RW]

The key may be used to sign certificates. Corresponds to the JSON property `certSign` @return [Boolean]

cert_sign?[RW]

The key may be used to sign certificates. Corresponds to the JSON property `certSign` @return [Boolean]

content_commitment[RW]

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]

content_commitment?[RW]

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]

crl_sign[RW]

The key may be used sign certificate revocation lists. Corresponds to the JSON property `crlSign` @return [Boolean]

crl_sign?[RW]

The key may be used sign certificate revocation lists. Corresponds to the JSON property `crlSign` @return [Boolean]

data_encipherment[RW]

The key may be used to encipher data. Corresponds to the JSON property `dataEncipherment` @return [Boolean]

data_encipherment?[RW]

The key may be used to encipher data. Corresponds to the JSON property `dataEncipherment` @return [Boolean]

decipher_only[RW]

The key may be used to decipher only. Corresponds to the JSON property `decipherOnly` @return [Boolean]

decipher_only?[RW]

The key may be used to decipher only. Corresponds to the JSON property `decipherOnly` @return [Boolean]

digital_signature[RW]

The key may be used for digital signatures. Corresponds to the JSON property `digitalSignature` @return [Boolean]

digital_signature?[RW]

The key may be used for digital signatures. Corresponds to the JSON property `digitalSignature` @return [Boolean]

encipher_only[RW]

The key may be used to encipher only. Corresponds to the JSON property `encipherOnly` @return [Boolean]

encipher_only?[RW]

The key may be used to encipher only. Corresponds to the JSON property `encipherOnly` @return [Boolean]

key_agreement[RW]

The key may be used in a key agreement protocol. Corresponds to the JSON property `keyAgreement` @return [Boolean]

key_agreement?[RW]

The key may be used in a key agreement protocol. Corresponds to the JSON property `keyAgreement` @return [Boolean]

key_encipherment[RW]

The key may be used to encipher other keys. Corresponds to the JSON property `keyEncipherment` @return [Boolean]

key_encipherment?[RW]

The key may be used to encipher other keys. Corresponds to the JSON property `keyEncipherment` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1/classes.rb, line 1444
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/privateca_v1/classes.rb, line 1449
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