OpenPgpContextEnabledDigestAlgorithms Property

Get the enabled digest algorithms in ranked order.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public DigestAlgorithm[] EnabledDigestAlgorithms { get; }

Property Value

DigestAlgorithm
The enabled digest algorithms.

Remarks

Gets the enabled digest algorithms in ranked order.

These are the digest algorithms advertised as the preferred hash algorithms of newly generated keys (see GenerateKeyPair(MailboxAddress, String, NullableDateTime, EncryptionAlgorithm, SecureRandom)). They do not restrict which digest algorithms may be used to sign or verify messages.

See Also