Discuss this help topic in SecureBlackbox Forum

Save the certificate

You can save the certificate and it's private key in various formats, either together in one file, or separately.
For description of various formats of certifcate and key files see the corresponding how-to article.

To save the certificate, call corresponding SaveToStream*() or SaveToBuffer*() methods of TElX509Certificate (.NET, VCL editions) or TElCertificateX object. Asterisk denotes format name or nothing in case of DER format. If the file format supports saving of the associated private key, you can tell the method to allow or prevent saving of the private key. To save the private key to a separate file (where supported by format), call corresponding SaveKeyToStream*() or SaveKeyToBuffer*() methods of TElX509Certificate (.NET, VCL editions) or TElCertificateX object. Asterisk denotes format name or nothing in case of DER format. You can save the certificate or the key to the memory buffer or to the stream (be it file stream, or memory stream, or BLOB stream or some other stream).

Discuss this help topic in SecureBlackbox Forum