public abstract class PGPContentSignerBuilderProvider
extends java.lang.Object
PGPContentSignerBuilder instances.
Concrete implementations of this class can choose the cryptographic backend (BC, JCA/JCE).| Modifier and Type | Field and Description |
|---|---|
protected int |
hashAlgorithmId |
| Constructor and Description |
|---|
PGPContentSignerBuilderProvider(int hashAlgorithmId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract PGPContentSignerBuilder |
get(PGPPublicKey signingKey)
Return a new instance of the
PGPContentSignerBuilder for the given signing key. |
public PGPContentSignerBuilderProvider(int hashAlgorithmId)
hashAlgorithmId - ID of the hash algorithm the PGPContentSignerBuilder shall use.public abstract PGPContentSignerBuilder get(PGPPublicKey signingKey)
PGPContentSignerBuilder for the given signing key.signingKey - public part of the signing key