THPDFCertificateTrustPurpose Type

Selects the extended key usage purpose a signer certificate must satisfy during certificate path validation

Declaration

THPDFCertificateTrustPurpose= (
  ctpAny,
  ctpDocumentSigning,
  ctpCodeSigning,
  ctpEmailProtection,
  ctpTimeStamping,
  ctpOCSPSigning,
  ctpCustom
  );

Unit

HPDFSignVerify

Values

ValuePurpose
ctpAnyDefault; resolves to an empty purpose OID, so the signer EKU is not constrained to a specific usage
ctpDocumentSigningRequires the document-signing EKU (OID 1.3.6.1.5.5.7.3.36) on the signer certificate
ctpCodeSigningRequires the code-signing EKU (OID 1.3.6.1.5.5.7.3.3) on the signer certificate
ctpEmailProtectionRequires the email-protection EKU (OID 1.3.6.1.5.5.7.3.4) on the signer certificate
ctpTimeStampingRequires the time-stamping EKU (OID 1.3.6.1.5.5.7.3.8) on the signer certificate
ctpOCSPSigningRequires the OCSP-signing EKU (OID 1.3.6.1.5.5.7.3.9) on the signer certificate
ctpCustomRequires the dotted OID supplied in THPDFCertificateValidationOptions.CustomTrustPurposeOID; a malformed OID fails validation

Usage notes

Related APIs