Package io.grafeas.v1

Interface AttestationOccurrenceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AttestationOccurrence, AttestationOccurrence.Builder

    public interface AttestationOccurrenceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getSerializedPayload

        com.google.protobuf.ByteString getSerializedPayload()
         Required. The serialized payload that is verified by one or more
         `signatures`.
         
        bytes serialized_payload = 1;
        Returns:
        The serializedPayload.
      • getSignaturesList

        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;
      • getSignatures

        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;
      • getSignaturesCount

        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;
      • getSignaturesOrBuilderList

        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;
      • getSignaturesOrBuilder

        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;
      • getJwtsList

        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;
      • getJwts

        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;
      • getJwtsCount

        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;
      • getJwtsOrBuilderList

        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;
      • getJwtsOrBuilder

        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;