Class SelectiveComputation.DocMDP
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.pdf.incrementalupdate.SelectiveComputation.DocMDP
- All Implemented Interfaces:
SelectiveComputation
- Enclosing interface:
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface SelectiveComputation
SelectiveComputation.Change, SelectiveComputation.DocMDP, SelectiveComputation.FieldMDP, SelectiveComputation.Selectiveness -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDocMDP(int p, int signatureIndex, float version, boolean icpBrRules, boolean protectVisualRepresentation) -
Method Summary
Modifier and TypeMethodDescriptionbooleanallows(SelectiveComputation.Change change) floatintbooleanbooleanselectiveness(SelectiveComputation.Selectiveness selectiveness) boolean
-
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, boolean protectVisualRepresentation) - 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 interfaceSelectiveComputation
-
allows
- Specified by:
allowsin interfaceSelectiveComputation
-
selectiveness
- Specified by:
selectivenessin interfaceSelectiveComputation
-
useIcpBrRules
public boolean useIcpBrRules()- Specified by:
useIcpBrRulesin interfaceSelectiveComputation
-
protectVisualRepresentation
public boolean protectVisualRepresentation()- Specified by:
protectVisualRepresentationin interfaceSelectiveComputation
-