| Modifier and Type | Field and Description |
|---|---|
| private OperatorHelper | |
| private JcaPGPKeyConverter | |
| private SecureRandom | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| public | JcePublicKeyKeyEncryptionMethodGenerator(PGPPublicKey
the public key to use for encryption. key)Create a public key encryption method generator with the method to be based on the passed in key. |
| Modifier and Type | Method and Description |
|---|---|
| protected byte[] | encryptSessionInfo(PGPPublicKey pubKey, byte[] sessionInfo)
Implements abstract org. |
| private byte[] | |
| public JcePublicKeyKeyEncryptionMethodGenerator | |
| public JcePublicKeyKeyEncryptionMethodGenerator | |
| public JcePublicKeyKeyEncryptionMethodGenerator | Returns: the current generator.the secure random to be used. random)Provide a user defined source of randomness. |
| helper | back to summary |
|---|---|
| private OperatorHelper helper | |
| keyConverter | back to summary |
|---|---|
| private JcaPGPKeyConverter keyConverter | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| X_HDR | back to summary |
|---|---|
| private static final byte X_HDR | |
| JcePublicKeyKeyEncryptionMethodGenerator | back to summary |
|---|---|
| public JcePublicKeyKeyEncryptionMethodGenerator(PGPPublicKey key) Create a public key encryption method generator with the method to be based on the passed in key.
| |
| encryptSessionInfo | back to summary |
|---|---|
| protected byte[] encryptSessionInfo(PGPPublicKey pubKey, byte[] sessionInfo) throws PGPException Implements abstract org. | |
| encryptSessionInfo | back to summary |
|---|---|
| private byte[] encryptSessionInfo(ECDHPublicBCPGKey ecKey, byte[] sessionInfo, Key secret, byte[] ephPubEncoding) throws GeneralSecurityException, IOException, PGPException | |
| setProvider | back to summary |
|---|---|
| public JcePublicKeyKeyEncryptionMethodGenerator setProvider(Provider provider) | |
| setProvider | back to summary |
|---|---|
| public JcePublicKeyKeyEncryptionMethodGenerator setProvider(String providerName) | |
| setSecureRandom | back to summary |
|---|---|
| public JcePublicKeyKeyEncryptionMethodGenerator setSecureRandom(SecureRandom random) Provide a user defined source of randomness.
| |