Package com.google.cloud.kms.v1
Interface DigestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Digest,Digest.Builder
@Generated
public interface DigestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringA message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.com.google.protobuf.ByteStringA message digest produced with the SHA-256 algorithm.com.google.protobuf.ByteStringA message digest produced with the SHA-384 algorithm.com.google.protobuf.ByteStringA message digest produced with the SHA-512 algorithm.booleanA message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only.booleanA message digest produced with the SHA-256 algorithm.booleanA message digest produced with the SHA-384 algorithm.booleanA message digest produced with the SHA-512 algorithm.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
-
hasSha256
boolean hasSha256()A message digest produced with the SHA-256 algorithm.
bytes sha256 = 1;- Returns:
- Whether the sha256 field is set.
-
getSha256
com.google.protobuf.ByteString getSha256()A message digest produced with the SHA-256 algorithm.
bytes sha256 = 1;- Returns:
- The sha256.
-
hasSha384
boolean hasSha384()A message digest produced with the SHA-384 algorithm.
bytes sha384 = 2;- Returns:
- Whether the sha384 field is set.
-
getSha384
com.google.protobuf.ByteString getSha384()A message digest produced with the SHA-384 algorithm.
bytes sha384 = 2;- Returns:
- The sha384.
-
hasSha512
boolean hasSha512()A message digest produced with the SHA-512 algorithm.
bytes sha512 = 3;- Returns:
- Whether the sha512 field is set.
-
getSha512
com.google.protobuf.ByteString getSha512()A message digest produced with the SHA-512 algorithm.
bytes sha512 = 3;- Returns:
- The sha512.
-
hasExternalMu
boolean hasExternalMu()A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only. See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard: https://doi.org/10.6028/nist.fips.204
bytes external_mu = 4;- Returns:
- Whether the externalMu field is set.
-
getExternalMu
com.google.protobuf.ByteString getExternalMu()A message digest produced with SHAKE-256, to be used with ML-DSA external-μ algorithms only. See "message representative" note in section 6.2, algorithm 7 of the FIPS-204 standard: https://doi.org/10.6028/nist.fips.204
bytes external_mu = 4;- Returns:
- The externalMu.
-
getDigestCase
Digest.DigestCase getDigestCase()
-