GenericSignedAttestation constructor
- Input<
GenericSignedAttestationContentType> ? contentType, - Input<
String> ? serializedPayload, - Input<
List< ? signatures,SignatureContaineranalysisV1beta1> >
Creates a new GenericSignedAttestation.
contentType 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).
serializedPayload The serialized payload that is verified by one or more signatures. The encoding and semantic meaning of this payload must match what is set in content_type.
signatures One or more signatures over serialized_payload. Verifier implementations should consider this attestation message verified if at least one signature verifies serialized_payload. See Signature in common.proto for more details on signature structure and verification.
Implementation
const GenericSignedAttestation({
this.contentType,
this.serializedPayload,
this.signatures,
});