public class SimpleDERReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
buffer |
(package private) int |
count |
(package private) int |
pos |
Constructor and Description |
---|
SimpleDERReader(byte[] b) |
SimpleDERReader(byte[] b,
int off,
int len) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
ignoreNextObject() |
private byte |
readByte() |
private byte[] |
readBytes(int len) |
java.math.BigInteger |
readInt() |
private int |
readLength() |
byte[] |
readOctetString() |
byte[] |
readSequenceAsByteArray() |
void |
resetInput(byte[] b) |
void |
resetInput(byte[] b,
int off,
int len) |
public SimpleDERReader(byte[] b)
public SimpleDERReader(byte[] b, int off, int len)
public void resetInput(byte[] b)
public void resetInput(byte[] b, int off, int len)
private byte readByte() throws java.io.IOException
java.io.IOException
private byte[] readBytes(int len) throws java.io.IOException
java.io.IOException
public int available()
private int readLength() throws java.io.IOException
java.io.IOException
public int ignoreNextObject() throws java.io.IOException
java.io.IOException
public java.math.BigInteger readInt() throws java.io.IOException
java.io.IOException
public byte[] readSequenceAsByteArray() throws java.io.IOException
java.io.IOException
public byte[] readOctetString() throws java.io.IOException
java.io.IOException