Interface EncryptionBuilderInterface.WithOptions
- Enclosing interface:
EncryptionBuilderInterface
public static interface EncryptionBuilderInterface.WithOptions
-
Method Summary
Modifier and TypeMethodDescriptionwithOptions
(ProducerOptions options) Create anEncryptionStream
with the given options (recipients, signers, algorithms...).
-
Method Details
-
withOptions
EncryptionStream withOptions(ProducerOptions options) throws org.bouncycastle.openpgp.PGPException, IOException Create anEncryptionStream
with the given options (recipients, signers, algorithms...).- Parameters:
options
- options- Returns:
- encryption stream
- Throws:
org.bouncycastle.openpgp.PGPException
- if something goes wrong during encryption stream preparationIOException
- if something goes wrong during encryption stream preparation (writing headers)
-