|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.knowcenter.wag.egov.egiz.framework.signators.TextualSignator_1_0_0
public class TextualSignator_1_0_0
Signs a document textually.
In prepareSign, the document text is extracted and normalized.
In finishSign, the signed SignatureObject is transformed into a Signature block, which is then written as an Incremental Update.
| Field Summary | |
|---|---|
static PdfASID |
MY_ID
The Pdf-AS ID of this Signator. |
| Constructor Summary | |
|---|---|
TextualSignator_1_0_0()
Default constructor. |
|
| Method Summary | |
|---|---|
SignResult |
finishSign(IncrementalUpdateInformation iui)
This is called after the data has been signed by the connector. |
IncrementalUpdateInformation |
prepareSign(byte[] pdf,
String signature_type,
TablePos pos,
boolean has_SIG_ID)
The parameter has_SIG_ID is not used by this Signator because it doesn't pre-format the signature block. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PdfASID MY_ID
| Constructor Detail |
|---|
public TextualSignator_1_0_0()
| Method Detail |
|---|
public IncrementalUpdateInformation prepareSign(byte[] pdf,
String signature_type,
TablePos pos,
boolean has_SIG_ID)
throws PresentableException
The parameter has_SIG_ID is not used by this Signator because it doesn't pre-format the signature block.
prepareSign in interface Signatorpdf - The PDF document to be signed.signature_type - The type/profile of the signature to apply.pos - The table position. If null, the position is read from the
profile, if this is null too, the position is computed.has_SIG_ID - Tells the algorithm, id a SIG_ID field will be required after
signing. Algorithms with fixed formatted signature blocks need to
know this.
PresentableException - Forwarded exception.Signator.prepareSign(byte[],
String, TablePos, boolean)
public SignResult finishSign(IncrementalUpdateInformation iui)
throws PresentableException
SignatorReplaces all the left out placeholders with their values retrieved from the signation process.
finishSign in interface Signatoriui - The IncrementalUpdateInformation.
PDFDocumentException - Forwarded exception.
PresentableExceptionSignator.finishSign(at.knowcenter.wag.egov.egiz.pdf.IncrementalUpdateInformation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||