Class Digest.DigestBuilder

  • Enclosing class:
    Digest

    public static final class Digest.DigestBuilder
    extends Object
    • Method Detail

      • hashingAlgorithm

        public Digest.DigestBuilder hashingAlgorithm​(HashingAlgorithm hashingAlgorithm)
        Parameters:
        hashingAlgorithm - The only hash algorithms that may be used to calculate the Digest within the context of this specification are SHA-256 and SHA-512 as defined in [RFC5843].
        Returns:
        prepared DigestBuilder with hashingAlgorithm
      • build

        public Digest build()