public abstract class OpenPGPEncryptionNegotiator
extends java.lang.Object
Constructor and Description |
---|
OpenPGPEncryptionNegotiator() |
Modifier and Type | Method and Description |
---|---|
static PreferredAEADCiphersuites.Combination |
bestAEADCiphersuiteByWeight(java.util.Collection<OpenPGPCertificate> certificates,
OpenPGPPolicy policy) |
abstract MessageEncryptionMechanism |
negotiateEncryption(OpenPGPMessageGenerator configuration)
Negotiate encryption mode and algorithms.
|
public abstract MessageEncryptionMechanism negotiateEncryption(OpenPGPMessageGenerator configuration)
configuration
- message generator configurationpublic static PreferredAEADCiphersuites.Combination bestAEADCiphersuiteByWeight(java.util.Collection<OpenPGPCertificate> certificates, OpenPGPPolicy policy)