AttestationOccurrence 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

AttestationOccurrence({List<Jwt>? jwts, String? serializedPayload, List<Signature>? signatures})
AttestationOccurrence.fromJson(Map _json)

Properties

hashCode int
The hash code for this object.
no setterinherited
jwts List<Jwt>?
One or more JWTs encoding a self-contained attestation.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializedPayload String?
The serialized payload that is verified by one or more signatures.
getter/setter pair
serializedPayloadAsBytes List<int>
getter/setter pair
signatures List<Signature>?
One or more signatures over serialized_payload.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited