Package org.verapdf.pdfa.parsers.pkcs7
Class DEREncodedInputStream
- java.lang.Object
-
- org.verapdf.pdfa.parsers.pkcs7.DEREncodedInputStream
-
public class DEREncodedInputStream extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected InputBufferinputBuffer
-
Constructor Summary
Constructors Constructor Description DEREncodedInputStream(byte[] data)DEREncodedInputStream(InputBuffer inputBuffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()voidgetBigInteger()DEREncodedValuegetDEREncodedValue()byte[]getOID()DEREncodedValue[]getSequence(int len)DEREncodedValue[]getSet(int len)DEREncodedValue[]getSet(int len, boolean implicit)DEREncodedInputStreamgetSubStream(int len)voidmark(int value)intpeekByte()protected DEREncodedValue[]readValues(int len)voidreset()
-
-
-
Field Detail
-
inputBuffer
protected InputBuffer inputBuffer
-
-
Constructor Detail
-
DEREncodedInputStream
public DEREncodedInputStream(byte[] data) throws IOException- Throws:
IOException
-
DEREncodedInputStream
public DEREncodedInputStream(InputBuffer inputBuffer)
-
-
Method Detail
-
getDEREncodedValue
public DEREncodedValue getDEREncodedValue() throws IOException
- Throws:
IOException
-
getOID
public byte[] getOID() throws IOException- Throws:
IOException
-
getBigInteger
public void getBigInteger() throws IOException- Throws:
IOException
-
getSequence
public DEREncodedValue[] getSequence(int len) throws IOException
- Throws:
IOException
-
getSet
public DEREncodedValue[] getSet(int len) throws IOException
- Throws:
IOException
-
getSet
public DEREncodedValue[] getSet(int len, boolean implicit) throws IOException
- Throws:
IOException
-
getSubStream
public DEREncodedInputStream getSubStream(int len) throws IOException
- Throws:
IOException
-
peekByte
public int peekByte() throws IOException- Throws:
IOException
-
mark
public void mark(int value)
-
reset
public void reset()
-
available
public int available()
-
readValues
protected DEREncodedValue[] readValues(int len) throws IOException
- Throws:
IOException
-
-