Interface RuntimeHashType

  • All Known Implementing Classes:
    RuntimeHash

    @Immutable
    public interface RuntimeHashType
    A hash value.
    • Field Detail

      • HASH_PATTERN

        static final java.util.regex.Pattern HASH_PATTERN
        A pattern that describes a valid hash value.
      • ALGORITHM_PATTERN

        static final java.util.regex.Pattern ALGORITHM_PATTERN
        A pattern that describes a valid algorithm value.
    • Method Detail

      • algorithm

        @Parameter
        java.lang.String algorithm()
        Returns:
        The algorithm name (eg. "SHA-256")
      • value

        @Parameter
        java.lang.String value()
        Returns:
        The hexadecimal, ASCII-encoded hash value
      • checkPreconditions

        @Check
        default void checkPreconditions()
        Check preconditions for the type.