public class Asn1StreamParser extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Asn1StreamParser.MyInt |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
TAG_CONSTRUCTED_SEQUENCE |
protected static int |
TAG_CONSTRUCTED_SET |
| Constructor and Description |
|---|
Asn1StreamParser() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
assertTag(int expectedTag,
int tag,
String name) |
protected static int |
markAndReadTag(InputStream instream) |
protected static byte[] |
readBlock(BufferedInputStream instream,
String name) |
protected static byte[] |
readBlock(int expectedTag,
BufferedInputStream instream,
String name) |
protected static int |
readLength(Asn1StreamParser.MyInt lenBytesSize,
InputStream instream) |
protected static Date |
readTime(Asn1StreamParser.MyInt bytesLen,
BufferedInputStream instream,
String name) |
protected static Date |
readTime(Object obj) |
protected static void |
skip(InputStream instream,
long count) |
protected static final int TAG_CONSTRUCTED_SEQUENCE
protected static final int TAG_CONSTRUCTED_SET
protected static byte[] readBlock(int expectedTag,
BufferedInputStream instream,
String name)
throws IOException
IOExceptionprotected static byte[] readBlock(BufferedInputStream instream, String name) throws IOException
IOExceptionprotected static int markAndReadTag(InputStream instream) throws IOException
IOExceptionprotected static int readLength(Asn1StreamParser.MyInt lenBytesSize, InputStream instream) throws IOException
IOExceptionprotected static void assertTag(int expectedTag,
int tag,
String name)
protected static Date readTime(Asn1StreamParser.MyInt bytesLen, BufferedInputStream instream, String name) throws IOException
IOExceptionprotected static void skip(InputStream instream, long count) throws IOException
IOExceptionCopyright © 2019. All rights reserved.