Class PDPropBuild
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDPropBuild
-
- All Implemented Interfaces:
COSObjectable
public class PDPropBuild extends java.lang.Object implements COSObjectable
A signature build dictionary as specified in the PDF Signature Build Dictionary Specification. The signature build properties dictionary provides signature properties for the software application that was used to create the signature.
-
-
Field Summary
Fields Modifier and Type Field Description private COSDictionary
dictionary
-
Constructor Summary
Constructors Constructor Description PDPropBuild()
Default constructor.PDPropBuild(COSDictionary dict)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDPropBuildDataDict
getApp()
A build data dictionary for the viewing application software module that was used to create the parent signature.COSDictionary
getCOSObject()
Convert this standard java object to a COS dictionary.PDPropBuildDataDict
getFilter()
A build data dictionary for the signature handler that was used to create the parent signature.PDPropBuildDataDict
getPubSec()
A build data dictionary for the PubSec software module that was used to create the parent signature.void
setPDPropBuildApp(PDPropBuildDataDict app)
Set the build data dictionary for the viewing application software module.void
setPDPropBuildFilter(PDPropBuildDataDict filter)
Set the build data dictionary for the signature handler.void
setPDPropBuildPubSec(PDPropBuildDataDict pubSec)
Set the build data dictionary for the PubSec Software module.
-
-
-
Field Detail
-
dictionary
private COSDictionary dictionary
-
-
Constructor Detail
-
PDPropBuild
public PDPropBuild()
Default constructor.
-
PDPropBuild
public PDPropBuild(COSDictionary dict)
Constructor.- Parameters:
dict
- The signature dictionary.
-
-
Method Detail
-
getCOSObject
public COSDictionary getCOSObject()
Convert this standard java object to a COS dictionary.- Specified by:
getCOSObject
in interfaceCOSObjectable
- Returns:
- The COS dictionary that matches this Java object.
-
getFilter
public PDPropBuildDataDict getFilter()
A build data dictionary for the signature handler that was used to create the parent signature.- Returns:
- the Filter as PDPropBuildFilter object
-
setPDPropBuildFilter
public void setPDPropBuildFilter(PDPropBuildDataDict filter)
Set the build data dictionary for the signature handler. This entry is optional but is highly recommended for the signatures.- Parameters:
filter
- is the PDPropBuildFilter
-
getPubSec
public PDPropBuildDataDict getPubSec()
A build data dictionary for the PubSec software module that was used to create the parent signature.- Returns:
- the PubSec as PDPropBuildPubSec object
-
setPDPropBuildPubSec
public void setPDPropBuildPubSec(PDPropBuildDataDict pubSec)
Set the build data dictionary for the PubSec Software module.- Parameters:
pubSec
- is the PDPropBuildPubSec
-
getApp
public PDPropBuildDataDict getApp()
A build data dictionary for the viewing application software module that was used to create the parent signature.- Returns:
- the App as PDPropBuildApp object
-
setPDPropBuildApp
public void setPDPropBuildApp(PDPropBuildDataDict app)
Set the build data dictionary for the viewing application software module.- Parameters:
app
- is the PDPropBuildApp
-
-