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.ToRecipients
onOutputStream(java.io.OutputStream outputStream)
Create aEncryptionStream
on anOutputStream
that 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:EncryptionBuilderInterface
Create aEncryptionStream
on anOutputStream
that contains the plain data that shall be encrypted and or signed.- Specified by:
onOutputStream
in interfaceEncryptionBuilderInterface
- Parameters:
outputStream
- output stream of the plain data.- Returns:
- api handle
-
-