Class JcaPGPKeyPairGeneratorProvider
java.lang.Object
org.bouncycastle.openpgp.operator.PGPKeyPairGeneratorProvider
org.bouncycastle.openpgp.operator.jcajce.JcaPGPKeyPairGeneratorProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetProvider
(String providerName) Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces.setProvider
(Provider provider) Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces.setSecureRandom
(SecureRandom random)
-
Constructor Details
-
JcaPGPKeyPairGeneratorProvider
public JcaPGPKeyPairGeneratorProvider()
-
-
Method Details
-
setProvider
Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces.- Parameters:
provider
- provider object for cryptographic primitives.- Returns:
- the current builder.
-
setProvider
Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces.- Parameters:
providerName
- the name of the provider to reference for cryptographic primitives.- Returns:
- the current builder.
-
setSecureRandom
-
get
- Specified by:
get
in classPGPKeyPairGeneratorProvider
-