Class: Google::Apis::BinaryauthorizationV1::SigstorePublicKey

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 public key. SigstorePublicKey is the public key material used to authenticate Sigstore signatures.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SigstorePublicKey

Returns a new instance of SigstorePublicKey.



1209
1210
1211
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1209

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

Instance Attribute Details

#public_key_pemString

The public key material in PEM format. Corresponds to the JSON property publicKeyPem

Returns:

  • (String)


1207
1208
1209
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1207

def public_key_pem
  @public_key_pem
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1214
1215
1216
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1214

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