return an ASN1Sequence from the given object.
Parameters: obj - the object we want converted. exception: IllegalArgumentException - if the object cannot be converted.
Return an ASN1 sequence from a tagged object. There is a special
case here, if an object appears to have been explicitly tagged on
reading but we were expecting it to be implictly tagged in the
normal course of events it indicates that we lost the surrounding
sequence - so we need to add it back (this will happen if the tagged
object is a sequence that contains other sequences). If you are
dealing with implicitly tagged sequences you really should
be using this method.
Parameters: obj - the tagged object. Parameters: explicit - true if the object is meant to be explicitly tagged,false otherwise. exception: IllegalArgumentException - if the tagged object cannotbe converted.
return the object at the sequence postion indicated by index.
Parameters: index - the sequence number (starting at zero) of the object the object at the sequence postion indicated by index.