Class: Google::Apis::BinaryauthorizationV1::SigstoreAuthority

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 Sigstore authority, used to verify signatures that are created by Sigstore. An authority is analogous to an attestation authenticator, verifying that a signature is valid or invalid.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SigstoreAuthority

Returns a new instance of SigstoreAuthority.



1188
1189
1190
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1188

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

Instance Attribute Details

#display_nameString

Optional. A user-provided name for this SigstoreAuthority. This field has no effect on the policy evaluation behavior except to improve readability of messages in evaluation results. Corresponds to the JSON property displayName

Returns:

  • (String)


1179
1180
1181
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1179

def display_name
  @display_name
end

#public_key_setGoogle::Apis::BinaryauthorizationV1::SigstorePublicKeySet

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. Corresponds to the JSON property publicKeySet



1186
1187
1188
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1186

def public_key_set
  @public_key_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1193
1194
1195
1196
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1193

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