IPWorks OpenPGP 2020 .NET Edition

Questions / Feedback?

CreateKey Method

Creates an OpenPGP key pair.

Syntax

public void CreateKey(string userId, string passphrase);
Public Sub CreateKey(ByVal UserId As String, ByVal Passphrase As String)

Remarks

This method creates a new OpenPGP key pair. The UserId parameter specifies the user Id of the key.

The UserId format is:

FirstName LastName (Comment) <Email>
Not all values are required when selecting or generating a key, but at least FirstName or Email are required.

Additional configuration settings may be set to further configure the details of the key being created. Please see the following settings for details:

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 .NET Edition - Version 20.0 [Build 8249]