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
|
java.util.Iterator |
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
|
java.lang.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 java.io.IOException
public void derEncode(DERBuffer buf) throws java.io.IOException
public final java.util.Iterator getObjects()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.