| Modifier and Type | Field and Description |
|---|---|
| private JceAEADUtil | |
| private OperatorHelper | |
| private JcaKeyFingerprintCalculator | |
| private OperatorHelper | |
| private JcaPGPKeyConverter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PublicKeyDataDecryptorFactory | |
| public PublicKeyDataDecryptorFactory | |
| private static void | |
| private byte[] | Returns: decrypted session keykey converter converter, PGPPrivateKey our private key privKey, byte[][] encrypted session key secKeyData)Decrypt ECDH encrypted session keys. |
| private byte[] | Returns: decrypted session datakey converter converter, PGPPrivateKey our private key privKey, byte[] encrypted session key enc, int Key length pLen, String agreement algorithm agreementAlgorithm, int wrapping algorithm symmetricKeyAlgorithm, ASN1ObjectIdentifier ephemeral key algorithm identifier algorithmIdentifier, String public key algorithm name algorithmName, boolean whether the PKESK packet is version 3 containsSKAlg)Decrypt X25519 / X448 encrypted session keys. |
| private byte[] | Returns: session datapublic key algorithm keyAlgorithm, PrivateKey our private key privKey, int payload size expectedPayloadSize, byte[][] ESK data secKeyData)Decrypt RSA / Elgamal encrypted session keys. |
| private int | |
| private PublicKey | |
| private Key | getSessionKey(JcaPGPKeyConverter converter, PGPPrivateKey privKey, String agreementName, PublicKey publicKey, int symmetricKeyAlgorithm, byte[] keyEnc, AlgorithmParameterSpec ukms)
|
| public JcePublicKeyDataDecryptorFactoryBuilder | |
| public JcePublicKeyDataDecryptorFactoryBuilder | |
| public JcePublicKeyDataDecryptorFactoryBuilder | 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 JcePublicKeyDataDecryptorFactoryBuilder | 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. |
| private void |
| aeadHelper | back to summary |
|---|---|
| private JceAEADUtil aeadHelper | |
| contentHelper | back to summary |
|---|---|
| private OperatorHelper contentHelper | |
| fingerprintCalculator | back to summary |
|---|---|
| private JcaKeyFingerprintCalculator fingerprintCalculator | |
| helper | back to summary |
|---|---|
| private OperatorHelper helper | |
| keyConverter | back to summary |
|---|---|
| private JcaPGPKeyConverter keyConverter | |
| JcePublicKeyDataDecryptorFactoryBuilder | back to summary |
|---|---|
| public JcePublicKeyDataDecryptorFactoryBuilder() | |
| build | back to summary |
|---|---|
| public PublicKeyDataDecryptorFactory build(final PrivateKey privKey) | |
| build | back to summary |
|---|---|
| public PublicKeyDataDecryptorFactory build(final PGPPrivateKey privKey) | |
| checkRange | back to summary |
|---|---|
| private static void checkRange(int pLen, byte[] enc) throws PGPException | |
| decryptSessionData | back to summary |
|---|---|
| private byte[] decryptSessionData(JcaPGPKeyConverter converter, PGPPrivateKey privKey, byte[][] secKeyData) throws PGPException Decrypt ECDH encrypted session keys.
| |
| decryptSessionData | back to summary |
|---|---|
| private byte[] decryptSessionData(JcaPGPKeyConverter converter, PGPPrivateKey privKey, byte[] enc, int pLen, String agreementAlgorithm, int symmetricKeyAlgorithm, ASN1ObjectIdentifier algorithmIdentifier, String algorithmName, boolean containsSKAlg) throws PGPException Decrypt X25519 / X448 encrypted session keys.
| |
| decryptSessionData | back to summary |
|---|---|
| private byte[] decryptSessionData(int keyAlgorithm, PrivateKey privKey, int expectedPayloadSize, byte[][] secKeyData) throws PGPException Decrypt RSA / Elgamal encrypted session keys.
| |
| getExpectedPayloadSize | back to summary |
|---|---|
| private int getExpectedPayloadSize(PrivateKey key) | |
| getPublicKey | back to summary |
|---|---|
| private PublicKey getPublicKey(byte[] pEnc, ASN1ObjectIdentifier algprithmIdentifier, int pEncOff) throws PGPException, GeneralSecurityException, IOException | |
| getSessionKey | back to summary |
|---|---|
| private Key getSessionKey(JcaPGPKeyConverter converter, PGPPrivateKey privKey, String agreementName, PublicKey publicKey, int symmetricKeyAlgorithm, byte[] keyEnc, AlgorithmParameterSpec ukms) throws PGPException, GeneralSecurityException | |
| setContentProvider | back to summary |
|---|---|
| public JcePublicKeyDataDecryptorFactoryBuilder setContentProvider(Provider provider) | |
| setContentProvider | back to summary |
|---|---|
| public JcePublicKeyDataDecryptorFactoryBuilder setContentProvider(String providerName) | |
| setProvider | back to summary |
|---|---|
| public JcePublicKeyDataDecryptorFactoryBuilder 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 JcePublicKeyDataDecryptorFactoryBuilder setProvider(String providerName) Set the provider name to use for creating cryptographic primitives in the resulting factory the builder produces.
| |
| updateWithMPI | back to summary |
|---|---|
| private void updateWithMPI(Cipher c, int expectedPayloadSize, byte[] encMPI) | |