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.



1496
1497
1498
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1496

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)


1494
1495
1496
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1494

def public_key_pem
  @public_key_pem
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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