Example usage for Java org.bouncycastle.openpgp PGPEncryptedDataGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
int | S2K_SHA1 Specifier for SHA-1 S2K PBE generator. |
PGPEncryptedDataGenerator(PGPDataEncryptorBuilder encryptorBuilder, boolean oldFormat) Base constructor with the option to turn on formatting for PGP 2.6.x compatibility. | |
PGPEncryptedDataGenerator(PGPDataEncryptorBuilder encryptorBuilder) Base constructor. |
void | addMethod(PGPKeyEncryptionMethodGenerator method) Add a key encryption method to be used to encrypt the session data associated with this encrypted data. |
void | close() Close off the encrypted object - this is equivalent to calling close on the stream returned by the open() methods. |
OutputStream | open(OutputStream out, long length) Create an OutputStream based on the configured methods to write a single encrypted object of known length. |
OutputStream | open(OutputStream out, byte[] buffer) Create an OutputStream which will encrypt the data as it is written to it. |