01.01.2015 Views

Acrobat Digital Signature API Reference - Adobe Partners

Acrobat Digital Signature API Reference - Adobe Partners

Acrobat Digital Signature API Reference - Adobe Partners

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2<br />

PubSec Methods<br />

These methods form a high-level interface to the digital signature facility. Methods are<br />

presented in the following groups:<br />

● General PubSec Methods<br />

● PubSec <strong>Acrobat</strong> Address Book Methods<br />

● <strong>Digital</strong> <strong>Signature</strong> Appearance File Methods<br />

General PubSec Methods<br />

PSCertIssuedUnderTestCP<br />

ASBool PSCertIssuedUnderTestCP (ASCab inCertChain);<br />

Description<br />

Tests whether any certificate in a chain has been issued under the <strong>Adobe</strong> Test Certificate<br />

Policy.<br />

If this function returns true, PubSec handlers are recommended to provide feedback to<br />

the user regarding the test nature of the certificate, which may render it untrustworthy.<br />

Parameters<br />

inCertChain<br />

The certificate chain to test, as an ASCab array. The first certificate is<br />

the end entity, and certificates should follow in the issuing order. For<br />

example:<br />

{ ("0", cert1), ("1", cert2), ... }<br />

where certn is an X509 certificate as ASN1-encoded binary data.<br />

Return Value<br />

true if any certificate in the chain was issued under the <strong>Adobe</strong> Test Certificate Policy,<br />

false otherwise.<br />

Header File<br />

PubSecHFT.h<br />

<strong>Acrobat</strong> <strong>Digital</strong> <strong>Signature</strong> <strong>API</strong> <strong>Reference</strong> 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!