/** * <p>(Optional; PDF 1.6) A dictionary containing a single entry whose key is P * and whose value is an integer between 0 and 3. A value of 0 defines the * signatures as an author signature. The value 1 through 3 shall be used for * certification signatures and correspond to the value of P in a DocMDP transform * parameters dictionary.</p> * * <p>If this MDP key is not present or the MDP dictionary does not contain a P * entry, no rules shall be defined regarding the type of signature or its * permissions.</p> * * @return the mdp dictionary as PDSeedValueMDP */ public PDSeedValueMDP getMDP() { COSDictionary dict = (COSDictionary)dictionary.getDictionaryObject(COSName.MDP); PDSeedValueMDP mdp = null; if (dict != null) { mdp = new PDSeedValueMDP(dict); } return mdp; }
/** * <p>(Optional; PDF 1.6) A dictionary containing a single entry whose key is P * and whose value is an integer between 0 and 3. A value of 0 defines the * signatures as an author signature. The value 1 through 3 shall be used for * certification signatures and correspond to the value of P in a DocMDP transform * parameters dictionary.</p> * * <p>If this MDP key is not present or the MDP dictionary does not contain a P * entry, no rules shall be defined regarding the type of signature or its * permissions.</p> * * @param mdp dictionary */ public void setMPD(PDSeedValueMDP mdp) { if (mdp != null) { dictionary.setItem(COSName.MDP, mdp.getCOSObject()); } }
/** * <p>(Optional; PDF 1.6) A dictionary containing a single entry whose key is P * and whose value is an integer between 0 and 3. A value of 0 defines the * signatures as an author signature. The value 1 through 3 shall be used for * certification signatures and correspond to the value of P in a DocMDP transform * parameters dictionary.</p> * * <p>If this MDP key is not present or the MDP dictionary does not contain a P * entry, no rules shall be defined regarding the type of signature or its * permissions.</p> * * @param mdp dictionary */ public void setMPD(PDSeedValueMDP mdp) { if (mdp != null) { dictionary.setItem(COSName.MDP, mdp.getCOSObject()); } }
/** * <p>(Optional; PDF 1.6) A dictionary containing a single entry whose key is P * and whose value is an integer between 0 and 3. A value of 0 defines the * signatures as an author signature. The value 1 through 3 shall be used for * certification signatures and correspond to the value of P in a DocMDP transform * parameters dictionary.</p> * * <p>If this MDP key is not present or the MDP dictionary does not contain a P * entry, no rules shall be defined regarding the type of signature or its * permissions.</p> * * @return the mdp dictionary as PDSeedValueMDP */ public PDSeedValueMDP getMDP() { COSDictionary dict = (COSDictionary)dictionary.getDictionaryObject(COSName.MDP); PDSeedValueMDP mdp = null; if (dict != null) { mdp = new PDSeedValueMDP(dict); } return mdp; }
/** * <p>(Optional; PDF 1.6) A dictionary containing a single entry whose key is P * and whose value is an integer between 0 and 3. A value of 0 defines the * signatures as an author signature. The value 1 through 3 shall be used for * certification signatures and correspond to the value of P in a DocMDP transform * parameters dictionary.</p> * * <p>If this MDP key is not present or the MDP dictionary does not contain a P * entry, no rules shall be defined regarding the type of signature or its * permissions.</p> * * @param mdp dictionary */ public void setMPD(PDSeedValueMDP mdp) { if (mdp != null) { dictionary.setItem(COSName.MDP, mdp.getCOSObject()); } }
/** * <p>(Optional; PDF 1.6) A dictionary containing a single entry whose key is P * and whose value is an integer between 0 and 3. A value of 0 defines the * signatures as an author signature. The value 1 through 3 shall be used for * certification signatures and correspond to the value of P in a DocMDP transform * parameters dictionary.</p> * * <p>If this MDP key is not present or the MDP dictionary does not contain a P * entry, no rules shall be defined regarding the type of signature or its * permissions.</p> * * @return the mdp dictionary as PDSeedValueMDP */ public PDSeedValueMDP getMDP() { COSDictionary dict = (COSDictionary)dictionary.getDictionaryObject(COSName.MDP); PDSeedValueMDP mdp = null; if (dict != null) { mdp = new PDSeedValueMDP(dict); } return mdp; }