Interface DigestOrBuilder (2.51.0)

public interface DigestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDigestCase()

public abstract Digest.DigestCase getDigestCase()
Returns
Type Description
Digest.DigestCase

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.

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.