Interface GenericSignedAttestationOrBuilder (2.50.0)

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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends io.grafeas.v1beta1.common.SignatureOrBuilder>