Interface AttestationOccurrenceOrBuilder (2.2.3)

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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.v1.Signature signatures = 2;

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

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

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

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

Returns
TypeDescription
List<? extends io.grafeas.v1.SignatureOrBuilder>