public class DERSequence extends DERObject
Class to hold a list of DERObjects.
| Constructor and Description |
|---|
DERSequence()
Default constructor
|
DERSequence(int tagNo)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addObject(DERObject derObj)
Add an object to the sequence
|
void |
derDecode(DERBuffer buf)
DER decode the object
|
void |
derEncode(DERBuffer buf)
DER encode the object
|
DERObject |
getObjectAt(int idx)
Return an object from the sequence
|
Iterator<DERObject> |
getObjects()
Enumerate the list
|
DERObject |
getTaggedObject(int tagNo)
Find a tagged object within the list
|
int |
numberOfObjects()
Return the count of objects in the sequence
|
String |
toString()
Return the sequence as a string
|
public DERSequence()
public DERSequence(int tagNo)
tagNo - intpublic final int numberOfObjects()
public final DERObject getObjectAt(int idx)
idx - intpublic final DERObject getTaggedObject(int tagNo)
tagNo - intpublic final void addObject(DERObject derObj)
derObj - DERObjectpublic void derDecode(DERBuffer buf) throws IOException
derDecode in class DERObjectbuf - DERBufferIOExceptionpublic void derEncode(DERBuffer buf) throws IOException
derEncode in class DERObjectbuf - DERBufferIOExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.