PBEDataDecryptorFactory instances that obtain cryptographic primitives using
the JCE API.
| Modifier and Type | Field and Description |
|---|---|
| private PGPDigestCalculatorProvider | |
| private OperatorHelper |
| Access | Constructor and Description |
|---|---|
| public | JcePBEDataDecryptorFactoryBuilder()
Base constructor - assume the required digest calculators can be provided from the same source as the cipher needed. |
| public | JcePBEDataDecryptorFactoryBuilder(PGPDigestCalculatorProvider
a digest calculator provider to provide calculators to support the key generation calculation required. calculatorProvider)Base constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public PBEDataDecryptorFactory | Returns: a decryptor factory that can be used to generate PBE keys.the pass phrase to use to generate keys in the resulting factory. passPhrase)Construct a |
| public JcePBEDataDecryptorFactoryBuilder | Returns: the current builder.provider object for cryptographic primitives. provider)Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces. |
| public JcePBEDataDecryptorFactoryBuilder | Returns: the current builder.the name of the provider to reference for cryptographic primitives. providerName)Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces. |
| calculatorProvider | back to summary |
|---|---|
| private PGPDigestCalculatorProvider calculatorProvider | |
| helper | back to summary |
|---|---|
| private OperatorHelper helper | |
| JcePBEDataDecryptorFactoryBuilder | back to summary |
|---|---|
| public JcePBEDataDecryptorFactoryBuilder() Base constructor - assume the required digest calculators can be provided from the same source as the cipher needed. | |
| JcePBEDataDecryptorFactoryBuilder | back to summary |
|---|---|
| public JcePBEDataDecryptorFactoryBuilder(PGPDigestCalculatorProvider calculatorProvider) Base constructor.
| |
| build | back to summary |
|---|---|
| public PBEDataDecryptorFactory build(char[] passPhrase) Construct a
| |
| setProvider | back to summary |
|---|---|
| public JcePBEDataDecryptorFactoryBuilder setProvider(Provider provider) Set the provider object to use for creating cryptographic primitives in the resulting factory the builder produces.
| |
| setProvider | back to summary |
|---|---|
| public JcePBEDataDecryptorFactoryBuilder setProvider(String providerName) Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces.
| |