|
Load the OpenPGP keys To load the keyring from file or data stream, use Load() method of TElPGPKeyring class. You can load the keyring from the file on the disk or from the stream (be it file stream, or memory stream, or BLOB stream or some other stream). You need to pass the files (or streams) with public and secret keys to Load() method. If you want to load only public or only secret keys, pass only the name of the needed file or the reference to the needed stream. Leave the other parameter empty. To load the secret key from file or data stream, use LoadFromFile() and LoadFromStream() methods of TElPGPSecretKey class. You can load the key from the file on the disk or from the stream (be it file stream, or memory stream, or BLOB stream or some other stream). To load the secret key from X.509 certificate, use AssignFromX509() method of TElPGPSecretKey class. To load the public key from file or data stream, use LoadFromFile() and LoadFromStream() methods of TElPGPPublicKey class. You can load the key from the file on the disk or from the stream (be it file stream, or memory stream, or BLOB stream or some other stream). To load the public key from X.509 certificate, use AssignFromX509() method of TElPGPPublicKey class. |

