Interface EncryptionBuilderInterface.ToRecipientsOrNoEncryption
-
- All Superinterfaces:
EncryptionBuilderInterface.ToRecipients
- Enclosing interface:
- EncryptionBuilderInterface
public static interface EncryptionBuilderInterface.ToRecipientsOrNoEncryption extends EncryptionBuilderInterface.ToRecipients
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionBuilderInterface.SignWithOrDontSign
doNotEncrypt()
Instruct theEncryptionStream
to not encrypt any data.EncryptionStream
withOptions(ProducerOptions options)
Create anEncryptionStream
with the given options (recipients, signers, algorithms...).-
Methods inherited from interface org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients
forPassphrase, toRecipient, toRecipient, toRecipient, toRecipients
-
-
-
-
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 strea
- Throws:
org.bouncycastle.openpgp.PGPException
java.io.IOException
-
doNotEncrypt
EncryptionBuilderInterface.SignWithOrDontSign doNotEncrypt()
Instruct theEncryptionStream
to not encrypt any data.- Returns:
- api handle
-
-