public class BcPGPContentSignerBuilder extends java.lang.Object implements PGPContentSignerBuilder
Constructor and Description |
---|
BcPGPContentSignerBuilder(int keyAlgorithm,
int hashAlgorithm) |
Modifier and Type | Method and Description |
---|---|
PGPContentSigner |
build(int signatureType,
PGPPrivateKey privateKey) |
BcPGPContentSignerBuilder |
setSecureRandom(java.security.SecureRandom random) |
public BcPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm)
public BcPGPContentSignerBuilder setSecureRandom(java.security.SecureRandom random)
public PGPContentSigner build(int signatureType, PGPPrivateKey privateKey) throws PGPException
build
in interface PGPContentSignerBuilder
PGPException