Interface EncryptionBuilderInterface
-
- All Known Implementing Classes:
EncryptionBuilder
public interface EncryptionBuilderInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EncryptionBuilderInterface.AdditionalRecipients
static interface
EncryptionBuilderInterface.AdditionalSignWith
static interface
EncryptionBuilderInterface.Armor
static interface
EncryptionBuilderInterface.SignWith
static interface
EncryptionBuilderInterface.SignWithOrDontSign
static interface
EncryptionBuilderInterface.ToRecipients
static interface
EncryptionBuilderInterface.ToRecipientsOrNoEncryption
static interface
EncryptionBuilderInterface.ToRecipientsOrSign
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default EncryptionBuilderInterface.ToRecipientsOrNoEncryption
onOutputStream(java.io.OutputStream outputStream)
Create aEncryptionStream
on anOutputStream
that contains the plain data that shall be encrypted and or signed.default EncryptionBuilderInterface.ToRecipientsOrNoEncryption
onOutputStream(java.io.OutputStream outputStream, boolean forYourEyesOnly)
Deprecated.default EncryptionBuilderInterface.ToRecipientsOrNoEncryption
onOutputStream(java.io.OutputStream outputStream, java.lang.String fileName, boolean forYourEyesOnly)
Deprecated.EncryptionBuilderInterface.ToRecipientsOrNoEncryption
onOutputStream(java.io.OutputStream outputStream, OpenPgpMetadata.FileInfo fileInfo)
Create anEncryptionStream
on anOutputStream
that contains the plain data which shall be encrypted and/or signed.
-
-
-
Method Detail
-
onOutputStream
default EncryptionBuilderInterface.ToRecipientsOrNoEncryption onOutputStream(@Nonnull java.io.OutputStream outputStream)
Create aEncryptionStream
on anOutputStream
that contains the plain data that shall be encrypted and or signed.- Parameters:
outputStream
- output stream of the plain data.- Returns:
- api handle
-
onOutputStream
default EncryptionBuilderInterface.ToRecipientsOrNoEncryption onOutputStream(@Nonnull java.io.OutputStream outputStream, boolean forYourEyesOnly)
Deprecated.Create aEncryptionStream
on anOutputStream
that contains the plain data which shall be encrypted and/or signed.- Parameters:
outputStream
- outputStreamforYourEyesOnly
- flag indicating that the data is intended for the recipients eyes only- Returns:
- api handle
-
onOutputStream
default EncryptionBuilderInterface.ToRecipientsOrNoEncryption onOutputStream(@Nonnull java.io.OutputStream outputStream, java.lang.String fileName, boolean forYourEyesOnly)
Deprecated.Creates aEncryptionStream
on anOutputStream
that contains the plain data which shall be encrypted and/or signed.- Parameters:
outputStream
- outputStreamfileName
- name of the file (or "" if the encrypted data is not a file)forYourEyesOnly
- flag indicating that the data is intended for the recipients eyes only- Returns:
- api handle
-
onOutputStream
EncryptionBuilderInterface.ToRecipientsOrNoEncryption onOutputStream(@Nonnull java.io.OutputStream outputStream, OpenPgpMetadata.FileInfo fileInfo)
Create anEncryptionStream
on anOutputStream
that contains the plain data which shall be encrypted and/or signed.- Parameters:
outputStream
- outputStreamfileInfo
- file information- Returns:
- api handle
-
-