Back to Devexpress

TdxPDFSignatureFieldInfo.LoadCertificate(TStream,string) Method

vcl-dxpdfsignature-dot-tdxpdfsignaturefieldinfo-dot-loadcertificate-x28-system-dot-classes-dot-tstream-system-dot-string-x29.md

latest1.5 KB
Original Source

TdxPDFSignatureFieldInfo.LoadCertificate(TStream,string) Method

Loads a public key certificate from a stream.

Declaration

delphi
procedure LoadCertificate(AStream: TStream; APassword: string); overload;

Parameters

NameTypeDescription
AStreamTStream

A source stream object.

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

LoadCertificate(string,string)

TdxPDFSignatureFieldInfo Class

TdxPDFSignatureFieldInfo Members

dxPDFSignature Unit