public void save(File file) throws IOException {
  FileUtil.writeFile(file,getEncodedPrivateKey());
}

public void save ( File file ) throws IOException { FileUtil . writeFile ( file , getEncodedPrivateKey ( ) ) ; }
save the key in a binary file . note that the file is not secured by a password .
