ASN1C C# Runtime Library
7.2
|
Public Member Functions | |
Asn1MderDecodeBuffer (byte[] msgdata) | |
Asn1MderDecodeBuffer (System.IO.Stream istream) | |
int | Available () |
void | Close () |
bool | MarkSupported () |
override int | ReadByte () |
Public Member Functions inherited from Asn1DecodeBuffer | |
virtual void | AddCaptureBuffer (System.IO.MemoryStream buffer) |
virtual void | Capture (int nbytes) |
virtual long | DecodeIntValue (int length, bool signExtend) |
virtual int [] | DecodeOIDContents (int llen) |
virtual int [] | DecodeRelOIDContents (int llen) |
override System.IO.Stream | GetInputStream () |
virtual void | HexDump () |
virtual void | Mark () |
virtual int | Read () |
virtual void | Read (byte[] buffer, int offset, int nbytes) |
virtual void | Read (byte[] buffer) |
int | Read2Bytes () |
int | Read4Bytes () |
virtual void | RemoveCaptureBuffer (System.IO.MemoryStream buffer) |
virtual void | Reset () |
virtual void | SetInputStream (byte[] msgdata, int offset, int length) |
virtual long | Skip (long nbytes) |
Public Member Functions inherited from Asn1MessageBuffer | |
virtual void | AddNamedEventHandler (Asn1NamedEventHandler handler) |
virtual void | InvokeCharacters (System.String svalue) |
virtual void | InvokeEndElement (System.String name, int index) |
virtual void | InvokeStartElement (System.String name, int index) |
Public Member Functions inherited from Asn1MessageBufferBase | |
void | SetKey (byte[] rtkey) |
void | SetPermanentKey (byte[] rtkey) |
Public Member Functions inherited from Asn1InputStream | |
void | Mark () |
void | Reset () |
long | Skip (long nbytes) |
Additional Inherited Members | |
Static Public Member Functions inherited from Asn1MessageBufferBase | |
static void | HexDump (System.IO.Stream ins, System.IO.StreamWriter outs) |
static void | HexDump (System.IO.Stream ins) |
Properties inherited from Asn1DecodeBuffer | |
virtual int | ByteCount [get] |
bool | LazyOpenTypeDecode [get, set] |
Properties inherited from Asn1MessageBuffer | |
virtual Asn1MessageBuffer | EventHandlerList [set] |
Properties inherited from Asn1MessageBufferBase | |
Asn1Context | Context [get] |
virtual short | TypeCode [set] |
Asn1MderDecodeBuffer | ( | byte [] | msgdata | ) |
Convenience method to create a decoder on an array of data.
msgdata |
Asn1MderDecodeBuffer | ( | System.IO.Stream | istream | ) |
Create a decoder on the given input stream.
istream |
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. The next caller might be the same thread or or another thread.
System.SystemException | if an I/O error occurs. |
Implements Asn1InputStream.
void Close | ( | ) |
Closes this input stream and releases any system resources associated with the stream.
System.SystemException | if an I/O error occurs. |
Implements Asn1InputStream.
bool MarkSupported | ( | ) |
Tests if this input stream supports the seeking. This method is equivalent to C# CanSeek
method of System.IO.Stream
.
true
if input stream supports seeking; Otherwise false
. Implements Asn1InputStream.
|
virtual |
This abstract method returns the next available 8-bit value from the input stream. It is implemented differently for BER/DER and PER to take into account odd alignments in PER.
Implements Asn1DecodeBuffer.