Package org.bouncycastle.its.jcajce
Class JceETSIDataEncryptor.Builder
java.lang.Object
org.bouncycastle.its.jcajce.JceETSIDataEncryptor.Builder
- Enclosing class:
JceETSIDataEncryptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setProvider
(String providerName) Sets the JCE provider to source cryptographic primitives from.setProvider
(Provider provider) Sets the JCE provider to source cryptographic primitives from.setRandom
(SecureRandom random)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setRandom
-
setProvider
Sets the JCE provider to source cryptographic primitives from.- Parameters:
provider
- the JCE provider to use.- Returns:
- the current builder.
-
setProvider
Sets the JCE provider to source cryptographic primitives from.- Parameters:
providerName
- the name of the JCE provider to use.- Returns:
- the current builder.
-
build
-