Asymmetric |
public static AsymmetricKeyParameter AsAsymmetricKeyParameter( this AsymmetricAlgorithm key )
| Exception | Condition |
|---|---|
| ArgumentNullException | key is . |
| NotSupportedException | key is an unsupported asymmetric algorithm. |
Converts an AsymmetricAlgorithm into a BouncyCastle AsymmetricKeyParameter.
| Currently, only RSA and DSA keys are supported. |