AttestationOccurrenceResponse class
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 authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.
Constructors
-
AttestationOccurrenceResponse({required Input<
List< jwts, required Input<JwtResponse> >String> serializedPayload, required Input<List< signatures})SignatureResponse> > -
Creates a new AttestationOccurrenceResponse.
jwtsOne or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore theserialized_payloadfield when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then theserialized_payloadSHOULD be left empty. Each JWT SHOULD encode a claim specific to theresource_uriof this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.serializedPayloadThe serialized payload that is verified by one or moresignatures.signaturesOne or more signatures overserialized_payload. Verifier implementations should consider this attestation message verified if at least onesignatureverifiesserialized_payload. SeeSignaturein common.proto for more details on signature structure and verification.const -
AttestationOccurrenceResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jwts
→ Input<
List< JwtResponse> > -
One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the
serialized_payloadfield when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then theserialized_payloadSHOULD be left empty. Each JWT SHOULD encode a claim specific to theresource_uriof this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serializedPayload
→ Input<
String> -
The serialized payload that is verified by one or more
signatures.final -
signatures
→ Input<
List< SignatureResponse> > -
One or more signatures over
serialized_payload. Verifier implementations should consider this attestation message verified if at least onesignatureverifiesserialized_payload. SeeSignaturein common.proto for more details on signature structure and verification.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited