Exactly one of the parameters must be not null.
Parameters: type - the choice type to apply to the name. Parameters: name - the general name. throws: IllegalArgumentException - if type is invalid.
Creates an instance of a Target from the given object.
obj can be a Target or a
ASN1TaggedObject Parameters: obj - The object. A Target instance. throws: IllegalArgumentException - if the given object cannot beinterpreted as Target.