Interface AttestationOccurrenceOrBuilder (2.45.0)

public interface AttestationOccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getJwts(int index)

public abstract Jwt getJwts(int index)

One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the serialized_payload field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the serialized_payload SHOULD be left empty. Each JWT SHOULD encode a claim specific to the resource_uri of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.

repeated .grafeas.v1.Jwt jwts = 3;

Parameter
Name Description
index int
Returns
Type Description
Jwt

getJwtsCount()

public abstract int getJwtsCount()

One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the serialized_payload field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the serialized_payload SHOULD be left empty. Each JWT SHOULD encode a claim specific to the resource_uri of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.

repeated .grafeas.v1.Jwt jwts = 3;

Returns
Type Description
int

getJwtsList()

public abstract List<Jwt> getJwtsList()

One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the serialized_payload field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the serialized_payload SHOULD be left empty. Each JWT SHOULD encode a claim specific to the resource_uri of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.

repeated .grafeas.v1.Jwt jwts = 3;

Returns
Type Description
List<Jwt>

getJwtsOrBuilder(int index)

public abstract JwtOrBuilder getJwtsOrBuilder(int index)

One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the serialized_payload field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the serialized_payload SHOULD be left empty. Each JWT SHOULD encode a claim specific to the resource_uri of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.

repeated .grafeas.v1.Jwt jwts = 3;

Parameter
Name Description
index int
Returns
Type Description
JwtOrBuilder

getJwtsOrBuilderList()

public abstract List<? extends JwtOrBuilder> getJwtsOrBuilderList()

One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the serialized_payload field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the serialized_payload SHOULD be left empty. Each JWT SHOULD encode a claim specific to the resource_uri of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.

repeated .grafeas.v1.Jwt jwts = 3;

Returns
Type Description
List<? extends io.grafeas.v1.JwtOrBuilder>

getSerializedPayload()

public abstract ByteString getSerializedPayload()

Required. The serialized payload that is verified by one or more signatures.

bytes serialized_payload = 1;

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.v1.Signature signatures = 2;

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.v1.Signature signatures = 2;

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.v1.Signature signatures = 2;

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.v1.Signature signatures = 2;

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.v1.Signature signatures = 2;

Returns
Type Description
List<? extends io.grafeas.v1.SignatureOrBuilder>