Package org.bouncycastle.asn1
Class DLSetParser
- java.lang.Object
 - 
- org.bouncycastle.asn1.DLSetParser
 
 
- 
- All Implemented Interfaces:
 ASN1Encodable,ASN1SetParser,InMemoryRepresentable
public class DLSetParser extends java.lang.Object implements ASN1SetParser
Parser class for DL SETs. TODO The class is only publicly visible to support 'instanceof' checks; provide an alternative 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1PrimitivegetLoadedObject()Return an in memory, encodable, representation of the SET.ASN1EncodablereadObject()Return the next object in the SET.ASN1PrimitivetoASN1Primitive()Return a DLSet representing this parser and its contents. 
 - 
 
- 
- 
Method Detail
- 
readObject
public ASN1Encodable readObject() throws java.io.IOException
Return the next object in the SET.- Specified by:
 readObjectin interfaceASN1SetParser- Returns:
 - next object in SET.
 - Throws:
 java.io.IOException- if there is an issue loading the object.
 
- 
getLoadedObject
public ASN1Primitive getLoadedObject() throws java.io.IOException
Return an in memory, encodable, representation of the SET.- Specified by:
 getLoadedObjectin interfaceInMemoryRepresentable- Returns:
 - a DLSet.
 - Throws:
 java.io.IOException- if there is an issue loading the data.
 
- 
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Return a DLSet representing this parser and its contents.- Specified by:
 toASN1Primitivein interfaceASN1Encodable- Returns:
 - a DLSet
 
 
 - 
 
 -