Skip to main content

TdxPDFSignatureFieldInfo.LoadCertificate(string,string) Method

Loads a public key certificate from a file.

Declaration

procedure LoadCertificate(const AFileName: string; const APassword: string); overload;

Parameters

Name Type Description
AFileName string

The path to an X.509 certificate file.

APassword string

The password required to import the loaded certificate’s content.

Remarks

Call this procedure to load an X.509 certificate to sign PDF documents or assign a previously loaded certificate to the Certificate property.

Note

A LoadCertificate procedure call raises the EdxX509Exception exception if it is impossible to use the specified certificate to sign documents.

See Also