public class SigUtils extends Object
Modifier and Type | Method and Description |
---|---|
static int |
getMDPPermission(PDDocument doc)
Get the access permissions granted for this document in the DocMDP transform parameters
dictionary.
|
static void |
setMDPPermission(PDDocument doc,
PDSignature signature,
int accessPermissions)
Set the access permissions granted for this document in the DocMDP transform parameters
dictionary.
|
public static int getMDPPermission(PDDocument doc)
doc
- document.public static void setMDPPermission(PDDocument doc, PDSignature signature, int accessPermissions)
doc
- The document.signature
- The signature object.accessPermissions
- The permission value (1, 2 or 3).Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.