Class SelectiveComputation.FieldMDP
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.pdf.incrementalupdate.SelectiveComputation.FieldMDP
- All Implemented Interfaces:
SelectiveComputation
- Enclosing interface:
SelectiveComputation
-
Nested Class Summary
Nested classes/interfaces inherited from interface SelectiveComputation
SelectiveComputation.Change, SelectiveComputation.DocMDP, SelectiveComputation.FieldMDP, SelectiveComputation.Selectiveness -
Constructor Summary
ConstructorsConstructorDescriptionFieldMDP(org.apache.pdfbox.cos.COSBase reference, int signatureIndex, org.apache.pdfbox.pdmodel.PDDocument document, boolean icpBrRules, boolean protectVisualRepresentation) -
Method Summary
Modifier and TypeMethodDescriptionbooleanallows(SelectiveComputation.Change change) org.apache.pdfbox.pdmodel.PDDocumentbyte[]floatintbooleanbooleanprotects(org.apache.pdfbox.cos.COSBase field) booleanbooleanselectiveness(SelectiveComputation.Selectiveness selectiveness) voidsetFieldBytes(byte[] fieldBytes) boolean
-
Constructor Details
-
FieldMDP
public FieldMDP(org.apache.pdfbox.cos.COSBase reference, int signatureIndex, org.apache.pdfbox.pdmodel.PDDocument document, boolean icpBrRules, boolean protectVisualRepresentation) throws IOException - Throws:
IOException
-
-
Method Details
-
getSignatureIndex
public int getSignatureIndex() -
getPDFVersion
public float getPDFVersion()- Specified by:
getPDFVersionin interfaceSelectiveComputation
-
allows
- Specified by:
allowsin interfaceSelectiveComputation
-
selectiveness
- Specified by:
selectivenessin interfaceSelectiveComputation
-
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 interfaceSelectiveComputation
-
protectVisualRepresentation
public boolean protectVisualRepresentation()- Specified by:
protectVisualRepresentationin interfaceSelectiveComputation
-
setFieldBytes
public void setFieldBytes(byte[] fieldBytes) -
getFieldBytes
public byte[] getFieldBytes() -
hasFieldBytes
public boolean hasFieldBytes()
-