Class BcPGPContentSignerBuilder
- java.lang.Object
-
- org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilder
-
- All Implemented Interfaces:
PGPContentSignerBuilder
public class BcPGPContentSignerBuilder extends java.lang.Object implements PGPContentSignerBuilder
-
-
Constructor Summary
Constructors Constructor Description BcPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PGPContentSigner
build(int signatureType, PGPPrivateKey privateKey)
BcPGPContentSignerBuilder
setSecureRandom(java.security.SecureRandom random)
-
-
-
Method Detail
-
setSecureRandom
public BcPGPContentSignerBuilder setSecureRandom(java.security.SecureRandom random)
-
build
public PGPContentSigner build(int signatureType, PGPPrivateKey privateKey) throws PGPException
- Specified by:
build
in interfacePGPContentSignerBuilder
- Throws:
PGPException
-
-