Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyTstPdfSigner.ExtKeyUsagePolicy

property ExtKeyUsagePolicy: tExtKeyUsagePolicy read fExtKeyUsagePolicy write fExtKeyUsagePolicy default ekupIgnore;
ExtKeyUsagePolicy decides whether the SIGNING certificate is checked for the id_kp_documentSigning key purpose (RFC 9336) before it is used.

The default is ekupIgnore, which is what this component has always done - no existing configuration changes behaviour by upgrading. Setting ekupAllowUnconstrained is the recommended tightening: it still accepts a certificate that states no purpose at all, but refuses one that states only OTHER purposes, which is a certificate no strict verifier will accept anyway. Signing with it is the mistake worth catching here rather than at the relying party.

There is deliberately NO event to override this: the certificate is your own and ekupIgnore already covers the case of signing with a differently-constrained one.