HashType

enum HashType : Enum<HashType> , ConvertibleToJava<HashType>

Required. The type of hash that was performed.

Entries

Link copied to clipboard
Link copied to clipboard

A SHA-256 hash.

Link copied to clipboard

Dirhash of a Go module's source code which is then hex-encoded. See b/244466565 and https://github.com/in-toto/attestation/pull/108.

Link copied to clipboard

A SHA-512 hash.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): HashType
Link copied to clipboard
fun valueOf(value: String): HashType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: HashType
Link copied to clipboard
Link copied to clipboard