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.IOExceptionprivate byte[] readBytes(int len)
throws java.io.IOException
java.io.IOExceptionpublic int available()
private int readLength()
throws java.io.IOException
java.io.IOExceptionpublic int ignoreNextObject()
throws java.io.IOException
java.io.IOExceptionpublic java.math.BigInteger readInt()
throws java.io.IOException
java.io.IOExceptionpublic byte[] readSequenceAsByteArray()
throws java.io.IOException
java.io.IOExceptionpublic byte[] readOctetString()
throws java.io.IOException
java.io.IOException