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.
131 132 133 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 131 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
121 122 123 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 121 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
129 130 131 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 129 def pkix_public_key_set @pkix_public_key_set end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
136 137 138 139 |
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 136 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 |