PGPContentSignerBuilder
public class BcPGPContentSignerBuilder extends java.lang.Object implements PGPContentSignerBuilder
Constructor | Description |
---|---|
BcPGPContentSignerBuilder(int keyAlgorithm,
int hashAlgorithm) |
Modifier and Type | Method | 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