Top Description Methods
org.bouncycastle.openpgp.operator

public Interface PGPDataDecryptor

Imports
java.io.InputStream

A decryptor that wraps a stream of PGP encrypted data to decrypt, and optionally integrity check, the data.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the block size of the cipher in bytes.
getBlockSize
()

Obtains the block size of the encryption algorithm used in this decryptor.

public InputStream

Returns:

a decrypting stream.
getInputStream
(InputStream
the encrypted data.
in
)

Wraps an encrypted data stream with a stream that will return the decrypted data.

public PGPDigestCalculator
getIntegrityCalculator()

Obtains the digest calculator used to verify the integrity check.

Method Detail

getBlockSizeback to summary
public int getBlockSize()

Obtains the block size of the encryption algorithm used in this decryptor.

Returns:int

the block size of the cipher in bytes.

getInputStreamback to summary
public InputStream getInputStream(InputStream in)

Wraps an encrypted data stream with a stream that will return the decrypted data.

Parameters
in:InputStream

the encrypted data.

Returns:InputStream

a decrypting stream.

getIntegrityCalculatorback to summary
public PGPDigestCalculator getIntegrityCalculator()

Obtains the digest calculator used to verify the integrity check.