Class: Google::Apis::BinaryauthorizationV1::SigstorePublicKeySet

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 Sigstore public keys, used to verify Sigstore signatures. A signature is authenticated by a SigstorePublicKeySet if any of the keys verify it.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SigstorePublicKeySet

Returns a new instance of SigstorePublicKeySet.



1517
1518
1519
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1517

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

Instance Attribute Details

#public_keysArray<Google::Apis::BinaryauthorizationV1::SigstorePublicKey>

Required. public_keys must have at least one entry. Corresponds to the JSON property publicKeys



1515
1516
1517
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1515

def public_keys
  @public_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1522
1523
1524
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1522

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