| Modifier and Type | Field and Description |
|---|---|
| pack-priv PublicKeyEncSessionPacket |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private boolean | |
| public int | getAlgorithm()
Overrides org. Return the symmetric encryption algorithm that is used by the packet. |
| public InputStream | Returns: the resulting input streamdecryptor factory to use to recover the session data and provide the stream. dataDecryptorFactory)Open an input stream which will provide the decrypted data protected by this object. |
| public InputStream | getDataStream(SessionKeyDataDecryptorFactory dataDecryptorFactory)
Deprecated
will be removed in 1.74, use PGPEncryptedDataList.extractSessionKeyEncryptedData() and then apply the dataDecryptorFactory.
|
| private InputStream | Returns: the resulting input streamdecryptor factory to use to recover the session data and provide the stream. dataDecryptorFactory, PGPSessionKey the session key for the stream. sessionKey)Open an input stream which will provide the decrypted data protected by this object. |
| public long | Returns: long
Deprecated
use
getKeyIdentifier() instead
Return the keyID for the key used to encrypt the data. |
| public KeyIdentifier | Returns: key identifierReturn a |
| public PGPSessionKey | Returns: session key used to decrypt the data protected by this objectdecryptor factory to use to recover the session data. dataDecryptorFactory)Return the symmetric session key required to decrypt the data protected by this object. |
| public int | Returns: the identifier of theencryption algorithm used to
encrypt this object.decryptor factory to use to recover the session data. dataDecryptorFactory)Return the symmetric key algorithm required to decrypt the data protected by this object. |
| public int | getVersion()
Overrides org. Return the version number of the Encrypted Session Key Packet. |
| keyData | back to summary |
|---|---|
| pack-priv PublicKeyEncSessionPacket keyData | |
| PGPPublicKeyEncryptedData | back to summary |
|---|---|
| pack-priv PGPPublicKeyEncryptedData(PublicKeyEncSessionPacket keyData, InputStreamPacket encData) | |
| confirmCheckSum | back to summary |
|---|---|
| private boolean confirmCheckSum(byte[] sessionInfo) | |
| containsChecksum | back to summary |
|---|---|
| private boolean containsChecksum(int algorithm) | |
| getAlgorithm | back to summary |
|---|---|
| public int getAlgorithm() Overrides org. Doc from org. Return the symmetric encryption algorithm that is used by the packet.
| |
| getDataStream | back to summary |
|---|---|
| public InputStream getDataStream(PublicKeyDataDecryptorFactory dataDecryptorFactory) throws PGPException Open an input stream which will provide the decrypted data protected by this object.
| |
| getDataStream | back to summary |
|---|---|
| public InputStream getDataStream(SessionKeyDataDecryptorFactory dataDecryptorFactory) throws PGPException
Deprecated will be removed in 1.74, use PGPEncryptedDataList.extractSessionKeyEncryptedData() and then apply the dataDecryptorFactory. | |
| getDataStream | back to summary |
|---|---|
| private InputStream getDataStream(PGPDataDecryptorFactory dataDecryptorFactory, PGPSessionKey sessionKey) throws PGPException Open an input stream which will provide the decrypted data protected by this object.
| |
| getKeyID | back to summary |
|---|---|
| public long getKeyID()
Deprecated use Return the keyID for the key used to encrypt the data.
| |
| getKeyIdentifier | back to summary |
|---|---|
| public KeyIdentifier getKeyIdentifier() Return a
| |
| getSessionKey | back to summary |
|---|---|
| public PGPSessionKey getSessionKey(PublicKeyDataDecryptorFactory dataDecryptorFactory) throws PGPException Return the symmetric session key required to decrypt the data protected by this object.
| |
| getSymmetricAlgorithm | back to summary |
|---|---|
| public int getSymmetricAlgorithm(PublicKeyDataDecryptorFactory dataDecryptorFactory) throws PGPException Return the symmetric key algorithm required to decrypt the data protected by this object.
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() Overrides org. Doc from org. Return the version number of the Encrypted Session Key Packet.
| |