Discuss this help topic in SecureBlackbox Forum
Add a key to OpenPGP keyring
The procedure of adding a key to existing PGP keyring (assuming that the keyring is stored in a file or files on a hard drive) consists of three simple steps:
keyring.AddPublicKey(publicKey); keyring.AddSecretKey(secretKey);
Note that TElPGPKeyring operates a 'single key instance' policy. If the keyring already contains the key passed to AddPublicKey() or AddSecretKey() policy, no new key record will be created. Instead, the existing instance of the key will be updated, should there be any new subkeys or user IDs attached to the instance of the key passed to AddPublicKey() or AddSecretKey() call.
Please see the topic on how to load an OpenPGP key stored on a media.