Class PGPContentSignerBuilderProvider
- java.lang.Object
-
- org.bouncycastle.openpgp.operator.PGPContentSignerBuilderProvider
-
- Direct Known Subclasses:
BcPGPContentSignerBuilderProvider,JcaPGPContentSignerBuilderProvider
public abstract class PGPContentSignerBuilderProvider extends java.lang.ObjectProvider class forPGPContentSignerBuilderinstances. Concrete implementations of this class can choose the cryptographic backend (BC, JCA/JCE).
-
-
Field Summary
Fields Modifier and Type Field Description protected inthashAlgorithmId
-
Constructor Summary
Constructors Constructor Description PGPContentSignerBuilderProvider(int hashAlgorithmId)Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract PGPContentSignerBuilderget(PGPPublicKey signingKey)Return a new instance of thePGPContentSignerBuilderfor the given signing key.
-
-
-
Constructor Detail
-
PGPContentSignerBuilderProvider
public PGPContentSignerBuilderProvider(int hashAlgorithmId)
Constructor.- Parameters:
hashAlgorithmId- ID of the hash algorithm thePGPContentSignerBuildershall use.
-
-
Method Detail
-
get
public abstract PGPContentSignerBuilder get(PGPPublicKey signingKey)
Return a new instance of thePGPContentSignerBuilderfor the given signing key.- Parameters:
signingKey- public part of the signing key- Returns:
- content signer builder
-
-