com.objsys.asn1j.runtime
Class Asn1DerDecodeBuffer

java.lang.Object
  extended by com.objsys.asn1j.runtime.Asn1MessageBufferBase
      extended by com.objsys.asn1j.runtime.Asn1MessageBuffer
          extended by com.objsys.asn1j.runtime.Asn1DecodeBuffer
              extended by com.objsys.asn1j.runtime.Asn1BerDecodeBuffer
                  extended by com.objsys.asn1j.runtime.Asn1DerDecodeBuffer
Direct Known Subclasses:
Asn1DerInputStream

public class Asn1DerDecodeBuffer
extends Asn1BerDecodeBuffer

This class handles the decoding of ASN.1 messages as specified in the Distinguished Encoding Rules (DER) as documented in the ITU-T X.690 standard.


Field Summary
 
Fields inherited from class com.objsys.asn1j.runtime.Asn1DecodeBuffer
mByteCount
 
Fields inherited from class com.objsys.asn1j.runtime.Asn1MessageBufferBase
context, mTypeCode
 
Constructor Summary
Asn1DerDecodeBuffer(byte[] msgdata)
          This constructor creates a DER decode buffer object that references an encoded ASN.1 message.
Asn1DerDecodeBuffer(java.io.InputStream istream)
          This constructor creates a DER decode buffer object that references an encoded ASN.1 message.
 
Method Summary
 
Methods inherited from class com.objsys.asn1j.runtime.Asn1BerDecodeBuffer
calcIndefLen, decodeEnumValue, decodeEnumValue, decodeLength, decodeOpenType, decodeOpenType, decodeTag, decodeTagAndLength, getLastTag, matchTag, matchTag, matchTag, movePastEOC, parse, peekTag, peekTag, readByte
 
Methods inherited from class com.objsys.asn1j.runtime.Asn1DecodeBuffer
addCaptureBuffer, capture, decodeIntValue, decodeOIDContents, decodeRelOIDContents, getByteCount, getInputStream, getLazyOpenTypeDecode, hexDump, init, mark, read, read, read, read2Bytes, read4Bytes, removeCaptureBuffer, reset, setInputStream, setLazyOpenTypeDecode, skip
 
Methods inherited from class com.objsys.asn1j.runtime.Asn1MessageBuffer
addNamedEventHandler, getEventHandlerListCount, hasEventHandlers, invokeCharacters, invokeEndElement, invokeStartElement, setEventHandlerList
 
Methods inherited from class com.objsys.asn1j.runtime.Asn1MessageBufferBase
getContext, hexDump, hexDump, setKey, setTypeCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Asn1DerDecodeBuffer

public Asn1DerDecodeBuffer(byte[] msgdata)
This constructor creates a DER decode buffer object that references an encoded ASN.1 message.

Parameters:
msgdata - Byte array containing an encoded ASN.1 message.

Asn1DerDecodeBuffer

public Asn1DerDecodeBuffer(java.io.InputStream istream)
This constructor creates a DER decode buffer object that references an encoded ASN.1 message. In this case, the message is passed in using an InputStream object.

Parameters:
istream - Input stream containing an encoded ASN.1 message.