| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private OperatorHelper | |
| private SecureRandom | |
| private int | |
| private PGPDigestCalculator |
| Access | Constructor and Description |
|---|---|
| public | |
| public | JcePBESecretKeyEncryptorBuilder(int
encryption algorithm to use. encAlgorithm, int iteration count to use for S2K function. s2kCount)Create a SecretKeyEncryptorBuilder with the S2K count different to the default of 0x60. |
| public | JcePBESecretKeyEncryptorBuilder(int
encryption algorithm to use. encAlgorithm, PGPDigestCalculator digest calculator to use. s2kDigestCalculator)Create a builder which will make encryptors using the passed in digest calculator. |
| public | JcePBESecretKeyEncryptorBuilder(int
encryption algorithm to use. encAlgorithm, PGPDigestCalculator digest calculator to use. s2kDigestCalculator, int iteration count to use for S2K function. s2kCount)Create an SecretKeyEncryptorBuilder with the S2k count different to the default of 0x60, and the S2K digest different from SHA-1. |
| Modifier and Type | Method and Description |
|---|---|
| public PBESecretKeyEncryptor | |
| public JcePBESecretKeyEncryptorBuilder | |
| public JcePBESecretKeyEncryptorBuilder | |
| public JcePBESecretKeyEncryptorBuilder | Returns: the current builder.the secure random to be used. random)Provide a user defined source of randomness. |
| encAlgorithm | back to summary |
|---|---|
| private int encAlgorithm | |
| helper | back to summary |
|---|---|
| private OperatorHelper helper | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| s2kCount | back to summary |
|---|---|
| private int s2kCount | |
| s2kDigestCalculator | back to summary |
|---|---|
| private PGPDigestCalculator s2kDigestCalculator | |
| JcePBESecretKeyEncryptorBuilder | back to summary |
|---|---|
| public JcePBESecretKeyEncryptorBuilder(int encAlgorithm) | |
| JcePBESecretKeyEncryptorBuilder | back to summary |
|---|---|
| public JcePBESecretKeyEncryptorBuilder(int encAlgorithm, int s2kCount) Create a SecretKeyEncryptorBuilder with the S2K count different to the default of 0x60.
| |
| JcePBESecretKeyEncryptorBuilder | back to summary |
|---|---|
| public JcePBESecretKeyEncryptorBuilder(int encAlgorithm, PGPDigestCalculator s2kDigestCalculator) Create a builder which will make encryptors using the passed in digest calculator. If a MD5 calculator is passed in the builder will assume the encryptors are for use with version 3 keys.
| |
| JcePBESecretKeyEncryptorBuilder | back to summary |
|---|---|
| public JcePBESecretKeyEncryptorBuilder(int encAlgorithm, PGPDigestCalculator s2kDigestCalculator, int s2kCount) Create an SecretKeyEncryptorBuilder with the S2k count different to the default of 0x60, and the S2K digest different from SHA-1.
| |
| build | back to summary |
|---|---|
| public PBESecretKeyEncryptor build(char[] passPhrase) | |
| setProvider | back to summary |
|---|---|
| public JcePBESecretKeyEncryptorBuilder setProvider(Provider provider) | |
| setProvider | back to summary |
|---|---|
| public JcePBESecretKeyEncryptorBuilder setProvider(String providerName) | |
| setSecureRandom | back to summary |
|---|---|
| public JcePBESecretKeyEncryptorBuilder setSecureRandom(SecureRandom random) Provide a user defined source of randomness.
| |