Attestation 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 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).

Constructors

Attestation({GenericSignedAttestation? genericSignedAttestation, PgpSignedAttestation? pgpSignedAttestation})
Attestation.fromJson(Map _json)

Properties

genericSignedAttestation GenericSignedAttestation?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pgpSignedAttestation PgpSignedAttestation?
A PGP signed attestation.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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