Interface GenericSignedAttestationOrBuilder

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

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

      • getContentTypeValue

        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:
        The enum numeric value on the wire for contentType.
      • getContentType

        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:
        The contentType.
      • getSerializedPayload

        com.google.protobuf.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:
        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.v1beta1.Signature signatures = 3;
      • 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.v1beta1.Signature signatures = 3;
      • 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.v1beta1.Signature signatures = 3;
      • 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.v1beta1.Signature signatures = 3;
      • 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.v1beta1.Signature signatures = 3;