Save an internal EC private key string to an encrypted private key file.
public static int SaveEncKey( string outputFile, string internalKey, string password, Ecc.PbeScheme pbes, string paramString, Ecc.Format fileFormat )
Public Shared Function SaveEncKey ( _ outputFile As String, _ internalKey As String, _ password As String, _ pbes As Ecc.PbeScheme, _ paramString As String, _ fileFormat As Ecc.Format _ ) As Integer
Valid name-value pairs for paramString are:
count=integer | To set the iteration count used in the PBKDF2 method, e.g. "count=5000;" [default=2048]. |
prf=hmac-name | To change the HMAC algorithm used in the PBKDF2 method, e.g. "prf=hmacwithSHA256;" [default=hmacwithSHA1]. |
VB6/C equivalent: ECC_SaveEncKey