|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.knowcenter.wag.egov.egiz.framework.verificators.BinaryVerificator_1_0_0
public class BinaryVerificator_1_0_0
The BinaryVerificator parses the EGIT Dictionary and extracts the signature holder from it.
| Field Summary | |
|---|---|
static byte[] |
EGIZ_BYTE_RANGE_NAME
The /ByteRange key in the EGIZ Dict. |
static byte[] |
EGIZ_CERT_NAME
The /Cert key in the EGIZ Dict. |
static byte[] |
EGIZ_ENCODINGS_NAME
The /encodings key in the EGIZ Dict. |
static byte[] |
EGIZ_KZ_NAME
The /ID key in the EGIZ Dict. |
static byte[] |
EGIZ_ODS_NAME
The /ODS key in the EGIZ Dict. |
static byte[] |
EGIZ_REPLACES_NAME
The /replaces key in the EGIZ Dict. |
static PdfASID |
MY_ID
The Pdf-AS ID of this Verificator. |
| Constructor Summary | |
|---|---|
BinaryVerificator_1_0_0()
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
checkIndex(int name_index)
Throws an excaption, if the index is lower than 0. |
protected ParseResult |
getRequiredValueOfKey(byte[] pdf,
DictionaryParseResult egiz_dict,
byte[] name)
Retrieves the value of the key from the dictionary. |
protected ParseResult |
getValueOfKey(byte[] pdf,
DictionaryParseResult egiz_dict,
byte[] name)
Retrieves the value of the key from the dictionary. |
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 |
|---|
public static final PdfASID MY_ID
public static final byte[] EGIZ_ODS_NAME
public static final byte[] EGIZ_KZ_NAME
public static final byte[] EGIZ_BYTE_RANGE_NAME
public static final byte[] EGIZ_REPLACES_NAME
public static final byte[] EGIZ_ENCODINGS_NAME
public static final byte[] EGIZ_CERT_NAME
| Constructor Detail |
|---|
public BinaryVerificator_1_0_0()
| Method Detail |
|---|
public List parseBlock(byte[] pdf,
FooterParseResult block,
int start_of_whole_block)
throws PresentableException
Verificator
parseBlock in interface Verificatorpdf - 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).
PresentableExceptionVerificator.parseBlock(byte[],
at.knowcenter.wag.exactparser.parsing.results.FooterParseResult, int)
protected ParseResult getRequiredValueOfKey(byte[] pdf,
DictionaryParseResult egiz_dict,
byte[] name)
throws PDFDocumentException
pdf - The PDF.egiz_dict - The dictionary.name - The name of the key.
PDFDocumentException - Thrown, if the key doesn't exist in the dictionary.
protected void checkIndex(int name_index)
throws PDFDocumentException
name_index - The index.
PDFDocumentException - Thrown, if the index is lower than 0.
protected ParseResult getValueOfKey(byte[] pdf,
DictionaryParseResult egiz_dict,
byte[] name)
pdf - The PDF.egiz_dict - The dictionary.name - The name of the key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||