1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-16 09:22:05 +01:00

Add javadoc to ProducerOptions.noEncryptionNoSigning()

This commit is contained in:
Paul Schaub 2022-07-18 14:50:53 +02:00
parent 9b6d08f3c5
commit e67d5b405c
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -69,6 +69,12 @@ public final class ProducerOptions {
return new ProducerOptions(encryptionOptions, null); return new ProducerOptions(encryptionOptions, null);
} }
/**
* Only wrap the data in an OpenPGP packet.
* No encryption or signing will be applied.
*
* @return builder
*/
public static ProducerOptions noEncryptionNoSigning() { public static ProducerOptions noEncryptionNoSigning() {
return new ProducerOptions(null, null); return new ProducerOptions(null, null);
} }