Package com.microstrategy.utils
Class DerInputStream
- java.lang.Object
-
- com.microstrategy.utils.BerInputStream
-
- com.microstrategy.utils.DerInputStream
-
public final class DerInputStream extends BerInputStream
Decodes ASN.1 types encoded with DER (X.690)- Since:
- MicroStrategy Web 9.0.1
-
-
Field Summary
-
Fields inherited from class com.microstrategy.utils.BerInputStream
buffer, choiceIndex, content, contentOffset, in, INDEFINIT_LENGTH, isIndefinedLength, isVerify, length, offset, oidElement, tag, tagOffset, times
-
-
Constructor Summary
Constructors Constructor Description DerInputStream(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
next()
Decodes next encoded type.void
readOctetString()
Decodes ASN.1 Octetstring type-
Methods inherited from class com.microstrategy.utils.BerInputStream
compactBuffer, get, getBuffer, getContentOffset, getEncoded, getEndOffset, getLength, getLength, getOffset, getTagOffset, put, read, readBitString, readBoolean, readContent, readEnumerated, readOID, setVerify
-
-
-
-
Method Detail
-
next
public final int next() throws java.io.IOException
Description copied from class:BerInputStream
Decodes next encoded type. Initializes tag, length, tagOffset and contentOffset variables- Overrides:
next
in classBerInputStream
- Returns:
- next decoded tag
- Throws:
java.io.IOException
- - if error occured- See Also:
BerInputStream.next()
-
readOctetString
public void readOctetString() throws java.io.IOException
Description copied from class:BerInputStream
Decodes ASN.1 Octetstring type- Overrides:
readOctetString
in classBerInputStream
- Throws:
java.io.IOException
- - if error occured- See Also:
BerInputStream.readOctetString()
-
-