Class ObjectEvaluation.FieldMDP
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.pdf.ObjectEvaluation.FieldMDP
- All Implemented Interfaces:
ObjectEvaluation.SelectiveComputation
- Enclosing class:
- ObjectEvaluation
public static class ObjectEvaluation.FieldMDP extends Object implements ObjectEvaluation.SelectiveComputation
-
Constructor Summary
Constructors Constructor Description FieldMDP(org.apache.pdfbox.cos.COSBase reference, int signatureIndex, org.apache.pdfbox.pdmodel.PDDocument document)
-
Method Summary
Modifier and Type Method Description boolean
allows(ObjectEvaluation.Change change)
org.apache.pdfbox.pdmodel.PDDocument
getDocument()
float
getPDFVersion()
int
getSignatureIndex()
boolean
protects(org.apache.pdfbox.cos.COSBase field)
boolean
selectiveness(ObjectEvaluation.Selectiveness selectiveness)
-
Constructor Details
-
FieldMDP
public FieldMDP(org.apache.pdfbox.cos.COSBase reference, int signatureIndex, org.apache.pdfbox.pdmodel.PDDocument document) throws IOException- Throws:
IOException
-
-
Method Details
-
getSignatureIndex
public int getSignatureIndex() -
getPDFVersion
public float getPDFVersion()- Specified by:
getPDFVersion
in interfaceObjectEvaluation.SelectiveComputation
-
allows
- Specified by:
allows
in interfaceObjectEvaluation.SelectiveComputation
-
selectiveness
- Specified by:
selectiveness
in interfaceObjectEvaluation.SelectiveComputation
-
protects
public boolean protects(org.apache.pdfbox.cos.COSBase field) -
getDocument
public org.apache.pdfbox.pdmodel.PDDocument getDocument()
-