Package dev.sigstore.proto.common.v1
Interface HashOutputOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HashOutput
,HashOutput.Builder
public interface HashOutputOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.dev.sigstore.common.v1.HashAlgorithm algorithm = 1;
int
.dev.sigstore.common.v1.HashAlgorithm algorithm = 1;
com.google.protobuf.ByteString
This is the raw octets of the message digest as computed by the hash algorithm.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAlgorithmValue
int getAlgorithmValue().dev.sigstore.common.v1.HashAlgorithm algorithm = 1;
- Returns:
- The enum numeric value on the wire for algorithm.
-
getAlgorithm
HashAlgorithm getAlgorithm().dev.sigstore.common.v1.HashAlgorithm algorithm = 1;
- Returns:
- The algorithm.
-
getDigest
com.google.protobuf.ByteString getDigest()This is the raw octets of the message digest as computed by the hash algorithm.
bytes digest = 2;
- Returns:
- The digest.
-