public class Asn1MderDecodeBuffer extends Asn1DecodeBuffer implements Asn1InputStream
mByteCountcontext, mTypeCode| Constructor and Description |
|---|
Asn1MderDecodeBuffer(byte[] msgdata)
Convenience method to create a decoder on an array of data.
|
Asn1MderDecodeBuffer(java.io.InputStream istream)
Create a decoder on the given input stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Returns the number of bytes that can be read (or skipped over) from
this input stream without blocking by the next caller of a method for
this input stream.
|
void |
close()
Closes this input stream and releases any system resources associated
with the stream.
|
boolean |
markSupported()
Tests if this input stream supports the
mark and
reset methods. |
int |
readByte()
This abstract method returns the next available 8-bit value
from the input stream.
|
addCaptureBuffer, capture, decodeIntValue, decodeOIDContents, decodeOIDContentsBig, decodeRelOIDContents, decodeRelOIDContentsBig, getByteCount, getInputStream, getLazyOpenTypeDecode, hexDump, init, mark, read, read, read, read2Bytes, read4Bytes, removeCaptureBuffer, reset, setInputStream, setLazyOpenTypeDecode, skip, skipOIDContents, skipRelOIDContentsaddNamedEventHandler, getEventHandlerListCount, hasEventHandlers, invokeCharacters, invokeEndElement, invokeStartElement, setEventHandlerListgetContext, hexDump, hexDump, setKey, setTypeCodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmark, reset, skippublic Asn1MderDecodeBuffer(byte[] msgdata)
msgdata - public Asn1MderDecodeBuffer(java.io.InputStream istream)
istream - public int readByte()
throws Asn1Exception,
java.io.IOException
Asn1DecodeBufferreadByte in class Asn1DecodeBufferAsn1Exceptionjava.io.IOExceptionpublic int available()
throws java.io.IOException
Asn1InputStreamavailable in interface Asn1InputStreamjava.io.IOException - if an I/O error occurs.public void close()
throws java.io.IOException
Asn1InputStreamclose in interface Asn1InputStreamjava.io.IOException - if an I/O error occurs.public boolean markSupported()
Asn1InputStreammark and
reset methods. The markSupported method of
InputStream returns false.markSupported in interface Asn1InputStreamtrue if this true type supports the mark and reset
method; false otherwise.