|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.gv.egiz.pdfas.impl.vfilter.helper.VerificationFilterBinaryHelper
Contains helpful methods used by the VerificationFilter to analyze the PDF for binary signatures.
| Field Summary | |
static byte[] |
EGIZ_DICT_NAME
The name of the egiz dict key. |
static byte[] |
EGIZ_KZ_NAME
The name of the ID (SIG_KZ) property in the egiz dict. |
| Constructor Summary | |
VerificationFilterBinaryHelper()
|
|
| Method Summary | |
static boolean |
containsEGIZDict(byte[] pdf,
FooterParseResult block)
Tells, if the given incremental update block contains a binary signature. |
static PdfASID |
extractKZFromEGIZBlock(byte[] pdf,
FooterParseResult block)
Extracts the PDF AS ID of the egiz block. |
static String |
restoreKZ(byte[] pdf,
ArrayParseResult kz_apr)
Restores the Kennzeichnung String from an Array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte[] EGIZ_DICT_NAME
public static final byte[] EGIZ_KZ_NAME
| Constructor Detail |
public VerificationFilterBinaryHelper()
| Method Detail |
public static boolean containsEGIZDict(byte[] pdf,
FooterParseResult block)
According to definition, if a block is a binary block, it must/cannot contain other signatures than this one.
block - The incremental update block.
public static PdfASID extractKZFromEGIZBlock(byte[] pdf,
FooterParseResult block)
throws PDFDocumentException,
InvalidIDException
pdf - The pdf.block - The IU block.
PDFDocumentException - Forwarded exception.
InvalidIDException - Forwarded exception.
public static String restoreKZ(byte[] pdf,
ArrayParseResult kz_apr)
throws PDFDocumentException
pdf - The PDF.kz_apr - The Array, as parsed from the EGIZ Dict.
PDFDocumentException - Forwarded exception.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||