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.SignWithOrDontSigndoNotEncrypt()Instruct theEncryptionStreamto not encrypt any data.EncryptionStreamwithOptions(ProducerOptions options)Create anEncryptionStreamwith 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 anEncryptionStreamwith the given options (recipients, signers, algorithms...).- Parameters:
options- options- Returns:
- encryption strea
- Throws:
org.bouncycastle.openpgp.PGPExceptionjava.io.IOException
-
doNotEncrypt
EncryptionBuilderInterface.SignWithOrDontSign doNotEncrypt()
Instruct theEncryptionStreamto not encrypt any data.- Returns:
- api handle
-
-