Interface EncryptionBuilderInterface.WithOptions
-
- Enclosing interface:
- EncryptionBuilderInterface
public static interface EncryptionBuilderInterface.WithOptions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionStream
withOptions(ProducerOptions options)
Create anEncryptionStream
with the given options (recipients, signers, algorithms...).
-
-
-
Method Detail
-
withOptions
EncryptionStream withOptions(ProducerOptions options) throws org.bouncycastle.openpgp.PGPException, java.io.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 preparationjava.io.IOException
- if something goes wrong during encryption stream preparation (writing headers)
-
-