org.apache.directory.shared.asn1.der
Class ASN1InputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.directory.shared.asn1.der.ASN1InputStream
- All Implemented Interfaces:
- java.io.Closeable
public class ASN1InputStream
- extends java.io.FilterInputStream
General purpose ASN.1 decoder.
Fields inherited from class java.io.FilterInputStream |
in |
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASN1InputStream
public ASN1InputStream(java.nio.ByteBuffer in)
ASN1InputStream
public ASN1InputStream(byte[] input)
readLength
protected int readLength()
throws java.io.IOException
- Throws:
java.io.IOException
readFully
protected void readFully(byte[] bytes)
throws java.io.IOException
- Throws:
java.io.IOException
buildObject
protected DEREncodable buildObject(int tag,
byte[] bytes)
throws java.io.IOException
- Build an object given its tag and a byte stream.
- Throws:
java.io.IOException
readObject
public DEREncodable readObject()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.