Class: Google::Apis::BinaryauthorizationV1::PkixPublicKeySet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/binaryauthorization_v1/classes.rb,
lib/google/apis/binaryauthorization_v1/representations.rb,
lib/google/apis/binaryauthorization_v1/representations.rb

Overview

A bundle of PKIX public keys, used to authenticate attestation signatures. Generally, a signature is considered to be authenticated by a PkixPublicKeySet if any of the public keys verify it (i.e. it is an "OR" of the keys).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PkixPublicKeySet

Returns a new instance of PkixPublicKeySet.



1136
1137
1138
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1136

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#pkix_public_keysArray<Google::Apis::BinaryauthorizationV1::PkixPublicKey>

Required. pkix_public_keys must have at least one entry. Corresponds to the JSON property pkixPublicKeys



1134
1135
1136
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1134

def pkix_public_keys
  @pkix_public_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1141
1142
1143
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1141

def update!(**args)
  @pkix_public_keys = args[:pkix_public_keys] if args.key?(:pkix_public_keys)
end