org.bouncycastle.asn1
public abstract class ASN1Sequence extends ASN1Object
| Method Summary | |
|---|---|
| protected void | addObject(DEREncodable obj) |
| static ASN1Sequence | getInstance(Object obj)
return an ASN1Sequence from the given object.
|
| static ASN1Sequence | getInstance(ASN1TaggedObject obj, boolean explicit)
Return an ASN1 sequence from a tagged object. |
| DEREncodable | getObjectAt(int index)
return the object at the sequence postion indicated by index.
|
| Enumeration | getObjects() |
| int | hashCode() |
| ASN1SequenceParser | parser() |
| int | size()
return the number of objects in this sequence.
|
| String | toString() |
Parameters: obj the object we want converted.
Throws: IllegalArgumentException if the object cannot be converted.
Parameters: obj the tagged object. explicit true if the object is meant to be explicitly tagged, false otherwise.
Throws: IllegalArgumentException if the tagged object cannot be converted.
Parameters: index the sequence number (starting at zero) of the object
Returns: the object at the sequence postion indicated by index.
Returns: the number of objects in this sequence.