Class EncryptionBuilder
- java.lang.Object
-
- org.pgpainless.encryption_signing.EncryptionBuilder
-
- All Implemented Interfaces:
EncryptionBuilderInterface
public class EncryptionBuilder extends java.lang.Object implements EncryptionBuilderInterface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.pgpainless.encryption_signing.EncryptionBuilderInterface
EncryptionBuilderInterface.Armor, EncryptionBuilderInterface.DetachedSign, EncryptionBuilderInterface.DocumentType, EncryptionBuilderInterface.SignWith, EncryptionBuilderInterface.ToRecipients, EncryptionBuilderInterface.WithAlgorithms
-
-
Constructor Summary
Constructors Constructor Description EncryptionBuilder()EncryptionBuilder(EncryptionStream.Purpose purpose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionBuilderInterface.ToRecipientsonOutputStream(java.io.OutputStream outputStream)Create aEncryptionStreamon anOutputStreamthat contains the plain data that shall be encrypted and or signed.
-
-
-
Constructor Detail
-
EncryptionBuilder
public EncryptionBuilder()
-
EncryptionBuilder
public EncryptionBuilder(@Nonnull EncryptionStream.Purpose purpose)
-
-
Method Detail
-
onOutputStream
public EncryptionBuilderInterface.ToRecipients onOutputStream(@Nonnull java.io.OutputStream outputStream)
Description copied from interface:EncryptionBuilderInterfaceCreate aEncryptionStreamon anOutputStreamthat contains the plain data that shall be encrypted and or signed.- Specified by:
onOutputStreamin interfaceEncryptionBuilderInterface- Parameters:
outputStream- output stream of the plain data.- Returns:
- api handle
-
-