|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PGPDataEncryptor
A data encryptor, combining a cipher instance and an optional integrity check calculator.
PGPDataEncryptor instances are generally not constructed directly, but obtained from a
PGPDataEncryptorBuilder.
| Method Summary | |
|---|---|
int |
getBlockSize()
Gets the block size of the underlying cipher used by this encryptor. |
PGPDigestCalculator |
getIntegrityCalculator()
Obtains the integrity check calculator configured for this encryptor instance. |
java.io.OutputStream |
getOutputStream(java.io.OutputStream out)
Constructs an encrypting output stream that encrypts data using the underlying cipher of this encryptor. |
| Method Detail |
|---|
java.io.OutputStream getOutputStream(java.io.OutputStream out)
out - the stream to wrap and write encrypted data to.
PGPDigestCalculator getIntegrityCalculator()
null if no integrity checking was
configured.int getBlockSize()
|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||