Class PDSeedValueMDP
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSeedValueMDP
-
public class PDSeedValueMDP extends java.lang.Object
This MDP dictionary is a part of the seed value dictionary and define if a author signature or a certification signature should be use.
For more informations, consider the spare documented chapter in the seed value dictionary in the ISO 32000 specification.
- Version:
- $Revision: 1.1 $
- Author:
- Thomas Chojecki
-
-
Constructor Summary
Constructors Constructor Description PDSeedValueMDP()
Default constructor.PDSeedValueMDP(COSDictionary dict)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description COSBase
getCOSObject()
Convert this standard java object to a COS object.COSDictionary
getDictionary()
Convert this standard java object to a COS dictionary.int
getP()
Return the P value.void
setP(int p)
Set the P value.
-
-
-
Constructor Detail
-
PDSeedValueMDP
public PDSeedValueMDP()
Default constructor.
-
PDSeedValueMDP
public PDSeedValueMDP(COSDictionary dict)
Constructor.- Parameters:
dict
- The signature dictionary.
-
-
Method Detail
-
getCOSObject
public COSBase getCOSObject()
Convert this standard java object to a COS object.- Returns:
- The cos object that matches this Java object.
-
getDictionary
public COSDictionary getDictionary()
Convert this standard java object to a COS dictionary.- Returns:
- The COS dictionary that matches this Java object.
-
getP
public int getP()
Return the P value.- Returns:
- the P value
-
setP
public void setP(int p)
Set the P value.- Parameters:
p
- the value to be set as P
-
-