Ecc.MakeKeys Method (String, String, Ecc.CurveName, String)
Generate an EC public/private key pair and save as two key files.
Syntax
[C#]
public static int MakeKeys(
string publicKeyfile,
string privateKeyFile,
Ecc.CurveName curveName,
string password
)
[VB.NET]
Public Shared Function MakeKeys ( _
publicKeyfile As String, _
privateKeyFile As String, _
curveName As Ecc.CurveName, _
password As String _
) As Integer
Parameters
- publicKeyfile
- name of public key file to be created.
- privateKeyFile
- name of encrypted private key file to be created.
- curveName
- Type: Ecc.CurveName
name of elliptic curve.
- password
- password to be used for the encrypted key file.
Return Value
Remarks
Saves key files with all default settings.
See Also
VB6/C equivalent: ECC_MakeKeys
[Contents] [Index]