public PrivateKey loadPrivateKey() throws Exception {
  if (defaultKeys) {
    return getPrivateKeyFromString(RSAKeyLoader.DEFAULT_PKEY);
  }
  if (priKey == null) {
    FileReader f=new FileReader(path + "privatekey" + this.id);
    BufferedReader r=new BufferedReader(f);
    String tmp="";
    String key="";
    while ((tmp=r.readLine()) != null) {
      key=key + tmp;
    }
    f.close();
    r.close();
    priKey=getPrivateKeyFromString(key);
  }
  return priKey;
}

public PrivateKey loadPrivateKey ( ) throws Exception { if ( defaultKeys ) { return getPrivateKeyFromString ( RSAKeyLoader . DEFAULT_PKEY ) ; } if ( priKey == null ) { FileReader f = new FileReader ( path + "privatekey" + this . id ) ; BufferedReader r = new BufferedReader ( f ) ; String tmp = "" ; String key = "" ; while ( ( tmp = r . readLine ( ) ) != null ) { key = key + tmp ; } f . close ( ) ; r . close ( ) ; priKey = getPrivateKeyFromString ( key ) ; } return priKey ; }
loads the private key of this process
