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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HashAlgorithmgetAlgorithm().dev.sigstore.common.v1.HashAlgorithm algorithm = 1;intgetAlgorithmValue().dev.sigstore.common.v1.HashAlgorithm algorithm = 1;com.google.protobuf.ByteStringgetDigest()This is the raw octets of the message digest as computed by the hash algorithm.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-