procedure ImportFrom(const FileName: string; const Password: string = ''); overload;

procedure ImportFrom(Stream: TStream; const Password: string = ''); overload;

 

Description

Imports the certificate from the specified file or stream.

The certificate can be stored in different formats. Format is determined automatically when loading the certificate.

 

Parameters:

FileName - determines the file name from which the certificate will be imported. If the file does not exists, an exception will be raised.
Stream - a pointer to the stream that holds data for importing the certificate.
Password - the password that is used for importing data decryption.

 

Note: If the certificate is loaded successfully, all properties becomes assigned, and the Ready property is set to True.

 

See also

ExportTo

 

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