Class: Google::Apis::BinaryauthorizationV1::SigstorePublicKey
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1::SigstorePublicKey
- 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
-
#public_key_pem ⇒ String
The public key material in PEM format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SigstorePublicKey
constructor
A new instance of SigstorePublicKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_pem ⇒ String
The public key material in PEM format.
Corresponds to the JSON property publicKeyPem
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 |