at.knowcenter.wag.egov.egiz.framework.verificators
Class TextualVerificator_1_0_0

java.lang.Object
  extended by at.knowcenter.wag.egov.egiz.framework.verificators.TextualVerificator_1_0_0
All Implemented Interfaces:
Verificator

public class TextualVerificator_1_0_0
extends Object
implements Verificator

The textual verificator.

All holders of the document so far including the block itself are extracted. If at least one has been found it is checked that this one doesn't belong to a previous block.

Note that the KZ is not explicitely checked here, so this algorithm will find all blocks.

Note that it will not find old style blocks as they don't have the SIG_KZ.

Author:
wprinz

Field Summary
static PdfASID MY_ID
          The Pdf-AS ID of this Verificator.
 
Constructor Summary
TextualVerificator_1_0_0()
          Default constructor.
 
Method Summary
 List parseBlock(byte[] pdf, FooterParseResult block, int start_of_whole_block)
          Parses the given document/Block for signatures of this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MY_ID

public static final PdfASID MY_ID
The Pdf-AS ID of this Verificator.

Constructor Detail

TextualVerificator_1_0_0

public TextualVerificator_1_0_0()
Default constructor.

Method Detail

parseBlock

public List parseBlock(byte[] pdf,
                       FooterParseResult block,
                       int start_of_whole_block)
                throws PresentableException
Description copied from interface: Verificator
Parses the given document/Block for signatures of this type.

Specified by:
parseBlock in interface Verificator
Parameters:
pdf - The whole pdf document. A Verificator must only access the document up to its given block (block.next_index) and must not modify any byte in the pdf array.
block - The incremental update block.
start_of_whole_block - The start of the incremental update block (the end of the previous block) - If 0, this is the first block (the original Document).
Returns:
Returns the List of SignatureHolder objects found for this block.
Throws:
PresentableException
See Also:
Verificator.parseBlock(byte[], at.knowcenter.wag.exactparser.parsing.results.FooterParseResult, int)


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.