Interface GenericSignedAttestationOrBuilder (2.4.1)

public interface GenericSignedAttestationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentType()

public abstract GenericSignedAttestation.ContentType getContentType()

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

.grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType content_type = 1;

Returns
TypeDescription
GenericSignedAttestation.ContentType

The contentType.

getContentTypeValue()

public abstract int getContentTypeValue()

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

.grafeas.v1beta1.attestation.GenericSignedAttestation.ContentType content_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for contentType.

getSerializedPayload()

public abstract ByteString getSerializedPayload()

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.

bytes serialized_payload = 2;

Returns
TypeDescription
ByteString

The serializedPayload.

getSignatures(int index)

public abstract Signature getSignatures(int index)

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.

repeated .grafeas.v1beta1.Signature signatures = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Signature

getSignaturesCount()

public abstract int getSignaturesCount()

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.

repeated .grafeas.v1beta1.Signature signatures = 3;

Returns
TypeDescription
int

getSignaturesList()

public abstract List<Signature> getSignaturesList()

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.

repeated .grafeas.v1beta1.Signature signatures = 3;

Returns
TypeDescription
List<Signature>

getSignaturesOrBuilder(int index)

public abstract SignatureOrBuilder getSignaturesOrBuilder(int index)

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.

repeated .grafeas.v1beta1.Signature signatures = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
SignatureOrBuilder

getSignaturesOrBuilderList()

public abstract List<? extends SignatureOrBuilder> getSignaturesOrBuilderList()

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.

repeated .grafeas.v1beta1.Signature signatures = 3;

Returns
TypeDescription
List<? extends io.grafeas.v1beta1.common.SignatureOrBuilder>