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({Input<
GenericSignedAttestationContentType> ? contentType, Input<String> ? serializedPayload, Input<List< ? signatures})SignatureContaineranalysisV1beta1> > -
Creates a new GenericSignedAttestation.
contentTypeType (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).serializedPayloadThe serialized payload that is verified by one or moresignatures. The encoding and semantic meaning of this payload must match what is set incontent_type.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 -
GenericSignedAttestation.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
contentType
→ Input<
GenericSignedAttestationContentType> ? -
Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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. The encoding and semantic meaning of this payload must match what is set incontent_type.final -
signatures
→ Input<
List< ?SignatureContaineranalysisV1beta1> > -
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