Closeable, AutoCloseablepublic class DERInputStream extends FilterInputStream
in| Constructor | Description |
|---|---|
DERInputStream(InputStream in) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
readLength(AtomicInteger bytesRead) |
|
DERObject |
readObject(int limit,
AtomicInteger bytesRead) |
|
int |
readTag(int expectedTag,
AtomicInteger bytesRead,
DERTags... flags) |
|
int |
readTag(AtomicInteger bytesRead,
DERTags... expectedFlags) |
|
DERObject |
readTaggedConstructedObject(int expectedTagNumber,
int limit,
AtomicInteger bytesRead) |
|
DERObject |
readTaggedObject(int expectedTagNumber,
int limit,
AtomicInteger bytesRead) |
|
byte[] |
readValue(int length,
AtomicInteger bytesRead) |
available, close, mark, markSupported, read, read, read, reset, skipreadAllBytes, readNBytes, transferTopublic DERInputStream(InputStream in)
public DERObject readTaggedConstructedObject(int expectedTagNumber, int limit, AtomicInteger bytesRead) throws IOException, DEREncodingException
IOExceptionDEREncodingExceptionpublic DERObject readTaggedObject(int expectedTagNumber, int limit, AtomicInteger bytesRead) throws IOException, DEREncodingException
IOExceptionDEREncodingExceptionpublic DERObject readObject(int limit, AtomicInteger bytesRead) throws IOException, DEREncodingException
IOExceptionDEREncodingExceptionpublic int readTag(int expectedTag,
AtomicInteger bytesRead,
DERTags... flags)
throws DEREncodingException,
IOException
DEREncodingExceptionIOExceptionpublic int readTag(AtomicInteger bytesRead, DERTags... expectedFlags) throws DEREncodingException, IOException
DEREncodingExceptionIOExceptionpublic int readLength(AtomicInteger bytesRead) throws DEREncodingException, IOException
DEREncodingExceptionIOExceptionpublic byte[] readValue(int length,
AtomicInteger bytesRead)
throws IOException,
DEREncodingException
IOExceptionDEREncodingExceptionCopyright © 2018. All rights reserved.