protected KeyPairGenerator(String algorithm){
  this.algorithm=algorithm;
}

protected KeyPairGenerator ( String algorithm ) { this . algorithm = algorithm ; }
creates a keypairgenerator object for the specified algorithm .
