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