Class BcPGPDigestCalculatorProvider
- java.lang.Object
-
- org.bouncycastle.openpgp.operator.bc.BcPGPDigestCalculatorProvider
-
- All Implemented Interfaces:
PGPDigestCalculatorProvider
public class BcPGPDigestCalculatorProvider extends java.lang.Object implements PGPDigestCalculatorProvider
-
-
Constructor Summary
Constructors Constructor Description BcPGPDigestCalculatorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PGPDigestCalculatorget(int algorithm)Construct a new instance of a cryptographic digest.
-
-
-
Method Detail
-
get
public PGPDigestCalculator get(int algorithm) throws PGPException
Description copied from interface:PGPDigestCalculatorProviderConstruct a new instance of a cryptographic digest.- Specified by:
getin interfacePGPDigestCalculatorProvider- Parameters:
algorithm- the identifier of thedigest algorithmto instantiate.- Returns:
- a digest calculator for the specified algorithm.
- Throws:
PGPException- if an error occurs constructing the specified digest.
-
-