Interface PGPDigestCalculatorProvider

    • Method Detail

      • get

        PGPDigestCalculator get​(int algorithm)
                         throws PGPException
        Construct a new instance of a cryptographic digest.
        Parameters:
        algorithm - the identifier of the digest algorithm to instantiate.
        Returns:
        a digest calculator for the specified algorithm.
        Throws:
        PGPException - if an error occurs constructing the specified digest.