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.
-
-
Field Summary
Fields Modifier and Type Field Description private COSDictionary
dictionary
-
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 COSDictionary
getCOSObject()
Convert this standard java object to a COS dictionary.int
getP()
Return the P value.void
setP(int p)
Set the P value.
-
-
-
Field Detail
-
dictionary
private final COSDictionary dictionary
-
-
Constructor Detail
-
PDSeedValueMDP
public PDSeedValueMDP()
Default constructor.
-
PDSeedValueMDP
public PDSeedValueMDP(COSDictionary dict)
Constructor.- Parameters:
dict
- The signature dictionary.
-
-
Method Detail
-
getCOSObject
public COSDictionary getCOSObject()
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
-
-