SecureBlackbox 2020 PHP Edition

Questions / Feedback?

Generate Method

Generates a new single PGP key.

Object Oriented Interface

public function doGenerate();

Procedural Interface

secureblackbox_pgpkeymanager_do_generate($res);

Remarks

Call this method after setting up relevant fields of Key to generate a new PGP key. This method generates a 'standalone' key without subkeys. Use GeneratePair to generate a pair of a main key and a subkey.

Most PGP implementations work with pairs of keys: the sign-only primary key and the encrypt-only (or encrypt-and-sign) subkey. If you need to generate a conformant PGP key to use with other PGP software, you likely need to use the GeneratePair method.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 PHP Edition - Version 20.0 [Build 8154]