IPWorks OpenPGP 2020 macOS Edition

Questions / Feedback?

CreateKey Method

Creates an OpenPGP key pair.


public func createKey(userId: String, passphrase: String) throws -> Void


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) 2021 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 macOS Edition - Version 20.0 [Build 7941]