public DGenerateCsr(JFrame parent,String alias,PrivateKey privateKey,KeyPairType keyPairType,String path,Provider provider) throws CryptoException {
  super(parent,Dialog.ModalityType.DOCUMENT_MODAL);
  this.alias=alias;
  this.privateKey=privateKey;
  this.keyPairType=keyPairType;
  this.path=path;
  this.provider=provider;
  setTitle(res.getString("DGenerateCsr.Title"));
  initComponents();
}

public DGenerateCsr ( JFrame parent , String alias , PrivateKey privateKey , KeyPairType keyPairType , String path , Provider provider ) throws CryptoException { super ( parent , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . alias = alias ; this . privateKey = privateKey ; this . keyPairType = keyPairType ; this . path = path ; this . provider = provider ; setTitle ( res . getString ( "DGenerateCsr.Title" ) ) ; initComponents ( ) ; }
creates a new dgeneratecsr dialog .
