public interface DigestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDigestCase()
public abstract Digest.DigestCase getDigestCase()| Returns | |
|---|---|
| Type | Description |
Digest.DigestCase |
|
getExternalMu()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The externalMu. |
getSha256()
public abstract ByteString getSha256()A message digest produced with the SHA-256 algorithm.
bytes sha256 = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The sha256. |
getSha384()
public abstract ByteString getSha384()A message digest produced with the SHA-384 algorithm.
bytes sha384 = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The sha384. |
getSha512()
public abstract ByteString getSha512()A message digest produced with the SHA-512 algorithm.
bytes sha512 = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The sha512. |
hasExternalMu()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the externalMu field is set. |
hasSha256()
public abstract boolean hasSha256()A message digest produced with the SHA-256 algorithm.
bytes sha256 = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sha256 field is set. |
hasSha384()
public abstract boolean hasSha384()A message digest produced with the SHA-384 algorithm.
bytes sha384 = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sha384 field is set. |
hasSha512()
public abstract boolean hasSha512()A message digest produced with the SHA-512 algorithm.
bytes sha512 = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sha512 field is set. |