AsymmetricKeyAlgorithm.CreateFrom Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)
CreateFrom(AsymmetricAlgorithm, Boolean)
Creates an instance of Asymmetric
Declaration
public static AsymmetricKeyAlgorithm CreateFrom(AsymmetricAlgorithm algorithm, bool ownsAlgorithm)
Parameters
Type | Name | Description |
---|---|---|
Asymmetric |
algorithm | Asymmetric algorithm object. |
Boolean | ownsAlgorithm | True if the created object owns the asymmetric algorithm object. |
Returns
Type | Description |
---|---|
Asymmetric |
An instance of Asymmetric |