public X500Principal(String name){
  if (name == null)   throw new NullPointerException(rb.getString("provided.null.name"));
  try {
    thisX500Name=new X500Name(name);
  }
 catch (  Exception e) {
    throw new IllegalArgumentException(e.toString());
  }
  this.name=name;
}

public X500Principal ( String name ) { if ( name == null ) throw new NullPointerException ( rb . getString ( "provided.null.name" ) ) ; try { thisX500Name = new X500Name ( name ) ; } catch ( Exception e ) { throw new IllegalArgumentException ( e . toString ( ) ) ; } this . name = name ; }
create a x500principal with an x . 500 name , such as " cn = duke , ou = javasoft , o = sun microsystems , c = us " ( rfc 1779 style ) . < p >
