Interface ContainerImageSignatureOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContainerImageSignature,ContainerImageSignature.Builder
@Generated
public interface ContainerImageSignatureOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringOptional.com.google.protobuf.ByteStringOptional.Optional.intOptional.com.google.protobuf.ByteStringOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPayload
com.google.protobuf.ByteString getPayload()Optional. The binary signature payload following the SimpleSigning format https://github.com/sigstore/cosign/blob/main/specs/SIGNATURE_SPEC.md#simple-signing. This payload includes the container image digest.
bytes payload = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The payload.
-
getSignature
com.google.protobuf.ByteString getSignature()Optional. A signature over the payload. The container image digest is incorporated into the signature as follows: 1. Generate a SimpleSigning format payload that includes the container image digest. 2. Generate a signature over SHA256 digest of the payload. The signature generation process can be represented as follows: `Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))`
bytes signature = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The signature.
-
getPublicKey
com.google.protobuf.ByteString getPublicKey()Optional. Reserved for future use.
bytes public_key = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The publicKey.
-
getSigAlgValue
int getSigAlgValue()Optional. Reserved for future use.
.google.cloud.confidentialcomputing.v1.SigningAlgorithm sig_alg = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for sigAlg.
-
getSigAlg
SigningAlgorithm getSigAlg()Optional. Reserved for future use.
.google.cloud.confidentialcomputing.v1.SigningAlgorithm sig_alg = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The sigAlg.
-