Class BcPGPDigestCalculatorProvider
java.lang.Object
org.bouncycastle.openpgp.operator.bc.BcPGPDigestCalculatorProvider
- All Implemented Interfaces:
PGPDigestCalculatorProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget
(int algorithm) Construct a new instance of a cryptographic digest.
-
Constructor Details
-
BcPGPDigestCalculatorProvider
public BcPGPDigestCalculatorProvider()
-
-
Method Details
-
get
Description copied from interface:PGPDigestCalculatorProvider
Construct a new instance of a cryptographic digest.- Specified by:
get
in interfacePGPDigestCalculatorProvider
- Parameters:
algorithm
- the identifier of thedigest algorithm
to instantiate.- Returns:
- a digest calculator for the specified algorithm.
- Throws:
PGPException
- if an error occurs constructing the specified digest.
-