Package com.hierynomus.asn1
Class ASN1InputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.hierynomus.asn1.ASN1InputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<ASN1Object>
-
Field Summary
FieldsFields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorsConstructorDescriptionASN1InputStream
(ASN1Decoder decoder, byte[] value) ASN1InputStream
(ASN1Decoder decoder, InputStream wrapped) -
Method Summary
Modifier and TypeMethodDescriptioniterator()
int
<T extends ASN1Object>
TreadTag()
byte[]
readValue
(int length) Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
decoder
-
-
Constructor Details
-
ASN1InputStream
-
ASN1InputStream
-
-
Method Details
-
readObject
-
readValue
public byte[] readValue(int length) -
iterator
- Specified by:
iterator
in interfaceIterable<ASN1Object>
-
readTag
-
readLength
public int readLength()
-