Class: Google::Apis::ContaineranalysisV1alpha1::Attestation
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::Attestation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/containeranalysis_v1alpha1/classes.rb,
generated/google/apis/containeranalysis_v1alpha1/representations.rb,
generated/google/apis/containeranalysis_v1alpha1/representations.rb
Overview
Occurrence that represents a single "attestation". The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for).
Instance Attribute Summary collapse
-
#pgp_signed_attestation ⇒ Google::Apis::ContaineranalysisV1alpha1::PgpSignedAttestation
An attestation wrapper with a PGP-compatible signature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Attestation
constructor
A new instance of Attestation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Attestation
Returns a new instance of Attestation.
92 93 94 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 92 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pgp_signed_attestation ⇒ Google::Apis::ContaineranalysisV1alpha1::PgpSignedAttestation
An attestation wrapper with a PGP-compatible signature. This message only
supports ATTACHED
signatures, where the payload that is signed is included
alongside the signature itself in the same file.
Corresponds to the JSON property pgpSignedAttestation
90 91 92 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 90 def pgp_signed_attestation @pgp_signed_attestation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
97 98 99 |
# File 'generated/google/apis/containeranalysis_v1alpha1/classes.rb', line 97 def update!(**args) @pgp_signed_attestation = args[:pgp_signed_attestation] if args.key?(:pgp_signed_attestation) end |