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, boolean icpBrRules) -
Method Summary
Modifier and Type Method Description booleanallows(ObjectEvaluation.Change change)org.apache.pdfbox.pdmodel.PDDocumentgetDocument()byte[]getFieldBytes()floatgetPDFVersion()intgetSignatureIndex()booleanhasFieldBytes()booleanprotects(org.apache.pdfbox.cos.COSBase field)booleanselectiveness(ObjectEvaluation.Selectiveness selectiveness)voidsetFieldBytes(byte[] fieldBytes)booleanuseIcpBrRules()
-
Constructor Details
-
FieldMDP
public FieldMDP(org.apache.pdfbox.cos.COSBase reference, int signatureIndex, org.apache.pdfbox.pdmodel.PDDocument document, boolean icpBrRules) throws IOException- Throws:
IOException
-
-
Method Details
-
getSignatureIndex
public int getSignatureIndex() -
getPDFVersion
public float getPDFVersion()- Specified by:
getPDFVersionin interfaceObjectEvaluation.SelectiveComputation
-
allows
- Specified by:
allowsin interfaceObjectEvaluation.SelectiveComputation
-
selectiveness
- Specified by:
selectivenessin interfaceObjectEvaluation.SelectiveComputation
-
protects
public boolean protects(org.apache.pdfbox.cos.COSBase field) -
getDocument
public org.apache.pdfbox.pdmodel.PDDocument getDocument() -
useIcpBrRules
public boolean useIcpBrRules()- Specified by:
useIcpBrRulesin interfaceObjectEvaluation.SelectiveComputation
-
setFieldBytes
public void setFieldBytes(byte[] fieldBytes) -
getFieldBytes
public byte[] getFieldBytes() -
hasFieldBytes
public boolean hasFieldBytes()
-