return an Octet String from a tagged object.
Parameters: obj - the tagged object holding the object we want. Parameters: explicit - true if the object is meant to be explicitlytagged false otherwise. exception: IllegalArgumentException - if the tagged object cannotbe converted.
return an Octet String from the given object.
Parameters: obj - the object we want converted. exception: IllegalArgumentException - if the object cannot be converted.