GenericSignedAttestation class
An attestation wrapper that uses the Grafeas Signature
message.
This attestation must define the serialized_payload
that the signatures
verify and any metadata necessary to interpret that plaintext. The
signatures should always be over the serialized_payload
bytestring.
Constructors
-
GenericSignedAttestation({String? contentType, String? serializedPayload, List<
Signature> ? signatures}) - GenericSignedAttestation.fromJson(Map _json)
Properties
- contentType ↔ String?
-
Type (for example schema) of the attestation payload that was signed.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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