Class DigestMethodBuilder

    • Constructor Detail

      • DigestMethodBuilder

        public DigestMethodBuilder()
    • Method Detail

      • builder

        public static DigestMethodBuilder builder()
        Creates a new DigestMethodBuilder instance.
        Returns:
        a SigningMethodBuilder instance
      • digestMethod

        public static DigestMethod digestMethod​(String algorithm)
        Utility method that creates a DigestMethod.
        Parameters:
        algorithm - the algorithm
        Returns:
        a DigestMethod instance
      • algorithm

        public DigestMethodBuilder algorithm​(String algorithm)
        Assigns the algorithm.
        Parameters:
        algorithm - the algorithm
        Returns:
        the builder