Imports a private key for the specified algorithm/curve. Only some algorithms/curves are supported.
            
    Namespace: 
   Rebex.Security.Cryptography
    Assembly:
   Rebex.Common (in Rebex.Common.dll)
 Syntax
Syntax
| Visual Basic | 
|---|
| Public Sub ImportKey ( _ algorithm As AsymmetricKeyAlgorithmId, _ curve As String, _ key As Byte(), _ format As AsymmetricKeyFormat _ ) | 
| C# | 
|---|
| public void ImportKey( AsymmetricKeyAlgorithmId algorithm, string curve, byte[] key, AsymmetricKeyFormat format ) | 
Parameters
- algorithm
- Type: Rebex.Security.Cryptography..::..AsymmetricKeyAlgorithmId
 Key algorithm.
- curve
- Type: System..::..String
 Key algorithm curve.
- key
- Type: array<System..::..Byte>[]()[][]
 Key data.
- format
- Type: Rebex.Security.Cryptography..::..AsymmetricKeyFormat
 Key format.
 
     
     
     
     
    