Package dev.sigstore.proto.common.v1
Interface MessageSignatureOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MessageSignature,MessageSignature.Builder
public interface MessageSignatureOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HashOutputgetMessageDigest()Message digest can be used to identify the artifact.HashOutputOrBuildergetMessageDigestOrBuilder()Message digest can be used to identify the artifact.com.google.protobuf.ByteStringgetSignature()The raw bytes as returned from the signature algorithm.booleanhasMessageDigest()Message digest can be used to identify the artifact.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMessageDigest
boolean hasMessageDigest()
Message digest can be used to identify the artifact. Clients MUST NOT attempt to use this digest to verify the associated signature; it is intended solely for identification.
.dev.sigstore.common.v1.HashOutput message_digest = 1;- Returns:
- Whether the messageDigest field is set.
-
getMessageDigest
HashOutput getMessageDigest()
Message digest can be used to identify the artifact. Clients MUST NOT attempt to use this digest to verify the associated signature; it is intended solely for identification.
.dev.sigstore.common.v1.HashOutput message_digest = 1;- Returns:
- The messageDigest.
-
getMessageDigestOrBuilder
HashOutputOrBuilder getMessageDigestOrBuilder()
Message digest can be used to identify the artifact. Clients MUST NOT attempt to use this digest to verify the associated signature; it is intended solely for identification.
.dev.sigstore.common.v1.HashOutput message_digest = 1;
-
getSignature
com.google.protobuf.ByteString getSignature()
The raw bytes as returned from the signature algorithm. The signature algorithm (and so the format of the signature bytes) are determined by the contents of the 'verification_material', either a key-pair or a certificate. If using a certificate, the certificate contains the required information on the signature algorithm. When using a key pair, the algorithm MUST be part of the public key, which MUST be communicated out-of-band.
bytes signature = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The signature.
-
-