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.



1503
1504
1505
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1503

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)


1501
1502
1503
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1501

def public_key_pem
  @public_key_pem
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1508
1509
1510
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1508

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