|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.asn1.ASN1StreamReaderSet
@Mutable @ThreadSafety(level=NOT_THREADSAFE) public final class ASN1StreamReaderSet
This class provides a data structure which is used in the course of reading an ASN.1 set from an ASN.1 stream reader. It provides access to the BER type and the total number of bytes in the encoded representations of all of the embedded values, and provides a method to determine when the end of the set has been reached.
Method Summary | |
---|---|
int |
getLength()
Retrieves the number of bytes contained in the encoded representations of all the embedded values. |
byte |
getType()
Retrieves the BER type for this ASN.1 set. |
boolean |
hasMoreElements()
Indicates whether there are more elements in this set to be read from the associated ASN.1 stream reader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public byte getType()
public int getLength()
public boolean hasMoreElements() throws ASN1Exception
true
if there are more elements in this set to be read
from the associated ASN.1 stream reader or false if the end of the
set has been reached.
ASN1Exception
- If the associated ASN.1 stream reader has already
read beyond the end of the set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |