xpdfSpliceIsEncrypted
Check whether an input PDF file is encrypted.
int xpdfSpliceIsEncrypted(XpdfSpliceInputHandle in)
This function returns non-zero if the input PDF file is encrypted.
C:
XpdfSpliceInputHandle in;
in = xpdfSpliceOpenInput("c:/test/file.pdf");
if (xpdfSpliceIsEncrypted(in)) {
...
}