Package org.bouncycastle.asn1
Class BERSetParser
- java.lang.Object
-
- org.bouncycastle.asn1.BERSetParser
-
- All Implemented Interfaces:
ASN1Encodable,ASN1SetParser,InMemoryRepresentable
public class BERSetParser extends Object implements ASN1SetParser
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1PrimitivegetLoadedObject()Get the in-memory representation of the ASN.1 object.ASN1EncodablereadObject()Read the next object from the underlying object representing a SET.ASN1PrimitivetoASN1Primitive()Return an object, possibly constructed, of ASN.1 primitives
-
-
-
Method Detail
-
readObject
public ASN1Encodable readObject() throws IOException
Description copied from interface:ASN1SetParserRead the next object from the underlying object representing a SET.- Specified by:
readObjectin interfaceASN1SetParser- Returns:
- the next object, null if we are at the end.
- Throws:
IOException- for bad input stream.
-
getLoadedObject
public ASN1Primitive getLoadedObject() throws IOException
Description copied from interface:InMemoryRepresentableGet the in-memory representation of the ASN.1 object.- Specified by:
getLoadedObjectin interfaceInMemoryRepresentable- Throws:
IOException- for bad input data.
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from interface:ASN1EncodableReturn an object, possibly constructed, of ASN.1 primitives- Specified by:
toASN1Primitivein interfaceASN1Encodable- Returns:
- an ASN.1 primitive.
-
-