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