Interface EncryptionBuilderInterface
-
- All Known Implementing Classes:
EncryptionBuilder
public interface EncryptionBuilderInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEncryptionBuilderInterface.AdditionalRecipientsstatic interfaceEncryptionBuilderInterface.AdditionalSignWithstatic interfaceEncryptionBuilderInterface.Armorstatic interfaceEncryptionBuilderInterface.SignWithstatic interfaceEncryptionBuilderInterface.SignWithOrDontSignstatic interfaceEncryptionBuilderInterface.ToRecipientsstatic interfaceEncryptionBuilderInterface.ToRecipientsOrNoEncryptionstatic interfaceEncryptionBuilderInterface.ToRecipientsOrSign
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default EncryptionBuilderInterface.ToRecipientsOrNoEncryptiononOutputStream(java.io.OutputStream outputStream)Create aEncryptionStreamon anOutputStreamthat contains the plain data that shall be encrypted and or signed.default EncryptionBuilderInterface.ToRecipientsOrNoEncryptiononOutputStream(java.io.OutputStream outputStream, boolean forYourEyesOnly)Deprecated.default EncryptionBuilderInterface.ToRecipientsOrNoEncryptiononOutputStream(java.io.OutputStream outputStream, java.lang.String fileName, boolean forYourEyesOnly)Deprecated.EncryptionBuilderInterface.ToRecipientsOrNoEncryptiononOutputStream(java.io.OutputStream outputStream, OpenPgpMetadata.FileInfo fileInfo)Create anEncryptionStreamon anOutputStreamthat contains the plain data which shall be encrypted and/or signed.
-
-
-
Method Detail
-
onOutputStream
default EncryptionBuilderInterface.ToRecipientsOrNoEncryption onOutputStream(@Nonnull java.io.OutputStream outputStream)
Create aEncryptionStreamon anOutputStreamthat 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 aEncryptionStreamon anOutputStreamthat 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 aEncryptionStreamon anOutputStreamthat 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 anEncryptionStreamon anOutputStreamthat contains the plain data which shall be encrypted and/or signed.- Parameters:
outputStream- outputStreamfileInfo- file information- Returns:
- api handle
-
-