public class SignatureParser extends COSParser
flag, integers, keyOfCurrentObject, LINEARIZATION_DICTIONARY_LOOKUP_SIZE, objectssource| Constructor and Description |
|---|
SignatureParser(SeekableInputStream stream,
COSDocument document)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long[] |
getByteRangeBySignatureOffset(long signatureOffset)
Calculates actual byte range of signature.
|
int |
getFloatingBytesNumberForLastByteRangeObtained() |
boolean |
isStreamEnd() |
getArray, getDictionary, getDocument, getName, getStream, nextObjectappendToToken, clearToken, closeInputStream, findKeyword, findKeyword, getLine, getLine, getLineBytes, getRandomAccess, getRawBytes, getToken, initializeToken, isCR, isDigit, isDigit, isEOL, isFF, isHexDigit, isLF, isNextByteEOL, nextToken, readName, readNumber, readUntilDelimiter, skipExpectedCharacter, skipSingleEol, skipSingleSpace, skipSingleSpace, skipSpaces, skipSpacespublic SignatureParser(SeekableInputStream stream, COSDocument document) throws IOException
stream - The stream to read the data from.IOException - If there is an error reading the input stream.public long[] getByteRangeBySignatureOffset(long signatureOffset)
throws IOException
IOExceptionpublic int getFloatingBytesNumberForLastByteRangeObtained()
public boolean isStreamEnd()
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.