Class ObjectEvaluation.DocMDP
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.pdf.ObjectEvaluation.DocMDP
- All Implemented Interfaces:
ObjectEvaluation.SelectiveComputation
- Enclosing class:
- ObjectEvaluation
public static class ObjectEvaluation.DocMDP extends Object implements ObjectEvaluation.SelectiveComputation
P number (Optional) The access permissions granted for this document. Valid values are:
1 No changes to the document are permitted; any change to the document invalidates the signature.
2 Permitted changes are filling in forms, instantiating page templates, and signing; other changes invalidate the signature.
3 Permitted changes are the same as for 2, as well as annotation creation, deletion, and modification; other changes invalidate the signature
-
Field Summary
Fields Modifier and Type Field Description intpintsignatureIndexfloatversion -
Constructor Summary
Constructors Constructor Description DocMDP(int p, int signatureIndex, float version, boolean icpBrRules) -
Method Summary
Modifier and Type Method Description booleanallows(ObjectEvaluation.Change change)floatgetPDFVersion()intgetSignatureIndex()booleanselectiveness(ObjectEvaluation.Selectiveness selectiveness)booleanuseIcpBrRules()
-
Field Details
-
version
public final float version -
p
public final int p -
signatureIndex
public final int signatureIndex
-
-
Constructor Details
-
DocMDP
public DocMDP(int p, int signatureIndex, float version, boolean icpBrRules)- Parameters:
p- permissões de acessosignatureIndex- índice da assinaturaversion- versão do dicionário
-
-
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
-
useIcpBrRules
public boolean useIcpBrRules()- Specified by:
useIcpBrRulesin interfaceObjectEvaluation.SelectiveComputation
-