CryptoSys PKI Pro Manual

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

Zero if successful or non-zero error code

Remarks

Saves key files with all default settings.

See Also

VB6/C equivalent: ECC_MakeKeys

[Contents] [Index]

[PREV: Ecc.KeyHashCode Method...]   [Contents]   [Index]   
   [NEXT: Ecc.MakeKeys Method (String, String, Ecc.CurveName, String, Ecc.PbeScheme, String, Ecc.Format)...]

Copyright © 2004-21 D.I. Management Services Pty Ltd. All rights reserved. Generated 2021-10-02T12:28:51Z.