Class JcaPGPContentSignerBuilder
java.lang.Object
org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilder
- All Implemented Interfaces:
PGPContentSignerBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(int signatureType, long keyID, PrivateKey privateKey) build
(int signatureType, PGPPrivateKey privateKey) setDigestProvider
(String providerName) setDigestProvider
(Provider provider) setProvider
(String providerName) setProvider
(Provider provider) setSecureRandom
(SecureRandom random)
-
Constructor Details
-
JcaPGPContentSignerBuilder
public JcaPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm)
-
-
Method Details
-
setSecureRandom
-
setProvider
-
setProvider
-
setDigestProvider
-
setDigestProvider
-
build
- Specified by:
build
in interfacePGPContentSignerBuilder
- Throws:
PGPException
-
build
public PGPContentSigner build(int signatureType, long keyID, PrivateKey privateKey) throws PGPException - Throws:
PGPException
-