EldoS
Navigation
Web site
Support
Table Of Contents

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).

ActiveX: some methods are included in secondary interfaces of the object. In this case you need to cast the object to the necessary interface.

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation