mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-23 11:27:57 +01:00
parent
8bbb3aa8ba
commit
c1de66e1d7
1 changed files with 3 additions and 3 deletions
|
@ -48,11 +48,11 @@ import org.pgpainless.util.Passphrase;
|
||||||
* This will cause PGPainless to use the provided algorithm for message encryption, instead of negotiating an algorithm
|
* This will cause PGPainless to use the provided algorithm for message encryption, instead of negotiating an algorithm
|
||||||
* by inspecting the provided recipient keys.
|
* by inspecting the provided recipient keys.
|
||||||
*
|
*
|
||||||
* By default, PGPainless will only encrypt to a single encryption capable subkey per recipient key.
|
* By default, PGPainless will encrypt to all suitable, encryption capable subkeys on each recipient's certificate.
|
||||||
* This behavior can be changed, e.g. by calling
|
* This behavior can be changed per recipient, e.g. by calling
|
||||||
* <pre>
|
* <pre>
|
||||||
* {@code
|
* {@code
|
||||||
* opt.addRecipient(aliceKey, EncryptionOptions.encryptToAllCapableSubkeys());
|
* opt.addRecipient(aliceKey, EncryptionOptions.encryptToFirstSubkey());
|
||||||
* }
|
* }
|
||||||
* </pre>
|
* </pre>
|
||||||
* when adding the recipient key.
|
* when adding the recipient key.
|
||||||
|
|
Loading…
Reference in a new issue