public interface PGPDigestCalculatorProvider
Modifier and Type | Method and Description |
---|---|
PGPDigestCalculator |
get(int algorithm)
Construct a new instance of a cryptographic digest.
|
PGPDigestCalculator get(int algorithm) throws PGPException
algorithm
- the identifier of the digest algorithm
to
instantiate.PGPException
- if an error occurs constructing the specified digest.