protected KeyFactory(KeyFactorySpi keyFacSpi,Provider provider,String algorithm){
  this.spi=keyFacSpi;
  this.provider=provider;
  this.algorithm=algorithm;
}

protected KeyFactory ( KeyFactorySpi keyFacSpi , Provider provider , String algorithm ) { this . spi = keyFacSpi ; this . provider = provider ; this . algorithm = algorithm ; }
creates a keyfactory object .
