THPDFCertificateStoreSelector Record

Enterprise edition: this feature ships with HotPDF Enterprise. Add HPDFEnterprise to a uses clause (C++Builder: #pragma link "HPDFEnterprise"); other editions retain the declaration and raise EHPDFEnterpriseRequired

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

Declaration

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

Unit

HPDFEnterpriseTypes

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