procedure ExportTo(const FileName: stringconst CertEncoding: TScCertificateEncoding = cfPEM); overload;

procedure ExportTo(Stream: TStream; const CertEncoding: TScCertificateEncoding = cfPEM); overload;

 

Description

Use this method to export the certificate to file or to stream. The certificate can be stored in different formats.

 

Parameters:

FileName - specifies the file name in which the certificate will be exported. If the file with the specified name does not exist, in will be created. The existent file will be overwritten.
Stream - pointer to the stream in which the certificate will be exported. Data will be appended to the stream.
CertEncoding - the data format which will be used for storing the certificate.

 

See also

ImportFrom

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support