Class: Google::Apis::BinaryauthorizationV1::AttestationAuthenticator
- Inherits:
-
Object
- Object
- Google::Apis::BinaryauthorizationV1::AttestationAuthenticator
- 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
An attestation authenticator that will be used to verify attestations. Typically this is just a set of public keys. Conceptually, an authenticator can be treated as always returning either "authenticated" or "not authenticated" when presented with a signed attestation (almost always assumed to be a DSSE attestation). The details of how an authenticator makes this decision are specific to the type of 'authenticator' that this message wraps.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Optional.
-
#pkix_public_key_set ⇒ Google::Apis::BinaryauthorizationV1::PkixPublicKeySet
A bundle of PKIX public keys, used to authenticate attestation signatures.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttestationAuthenticator
constructor
A new instance of AttestationAuthenticator.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AttestationAuthenticator
Returns a new instance of AttestationAuthenticator.
112 113 114 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Optional. A user-provided name for this AttestationAuthenticator. 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
102 103 104 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 102 def display_name @display_name end |
#pkix_public_key_set ⇒ Google::Apis::BinaryauthorizationV1::PkixPublicKeySet
A bundle of PKIX public keys, used to authenticate attestation signatures.
Generally, a signature is considered to be authenticated by a
PkixPublicKeySet if any of the public keys verify it (i.e. it is an "OR" of
the keys).
Corresponds to the JSON property pkixPublicKeySet
110 111 112 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 110 def pkix_public_key_set @pkix_public_key_set end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
117 118 119 120 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 117 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @pkix_public_key_set = args[:pkix_public_key_set] if args.key?(:pkix_public_key_set) end |