Secure |
protected virtual EncryptionAlgorithm GetPreferredEncryptionAlgorithm( CmsRecipientCollection recipients )
Gets the preferred encryption algorithm to use for encrypting to the specified recipients based on the encryption algorithms supported by each of the recipients, the EnabledEncryptionAlgorithms, and the EncryptionAlgorithmRank.
If the supported encryption algorithms are unknown for any recipient, it is assumed that the recipient supports at least the Triple-DES encryption algorithm.