X509Certificate |
public static EncryptionAlgorithm[] GetEncryptionAlgorithms( this X509Certificate2 certificate )
Exception | Condition |
---|---|
ArgumentNullException | certificate is null. |
Scans the X.509 certificate for the S/MIME capabilities extension. If found, the supported encryption algorithms will be decoded and returned.
If no extension can be found, the TripleDes algorithm is returned.