basic constructor - this does not validate the string
DERPrintableString
public DERPrintableString(String string, boolean validate)(Code)
Constructor with optional validation.
Parameters: string - the base string to wrap. Parameters: validate - whether or not to check the string. throws: IllegalArgumentException - if validate is true and the stringcontains characters that should not be in a PrintableString.
return a Printable 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.