THPDFCertificateStoreSelector Record

Selects the Windows certificate store, certificate thumbprint, and private-key prompt behavior for system-certificate PDF signing

Declaration

THPDFCertificateStoreSelector= record
  Location: THPDFCertificateStoreLocation;
  StoreName: UnicodeString;
  Thumbprint: AnsiString;
  AllowUI: Boolean;
  class function Default: THPDFCertificateStoreSelector; static;
end;

Unit

HPDFWinCertSigner

Fields

FieldPurpose
LocationStore scope: cslCurrentUser (the default) or cslLocalMachine, mapped to the matching CERT_SYSTEM_STORE flags
StoreNameSystem store name opened through CertOpenStore; Default uses MY
ThumbprintSHA-1 thumbprint of the certificate to use; required and normalized before the store lookup
AllowUIWhen False, the private key is acquired with CRYPT_ACQUIRE_SILENT_FLAG so no dialog can appear
DefaultClass function returning current user, store MY, empty thumbprint, and UI disabled

Usage notes

Related APIs