}
kmfSpi.engineInit(kStore, pass);
mfp = new MyKeyManagerFactorySpi.Parameters(kStore, null);
try {
kmfSpi.engineInit(mfp);
fail("InvalidAlgorithmParameterException must be thrown");
} catch (InvalidAlgorithmParameterException e) {
}
mfp = new MyKeyManagerFactorySpi.Parameters(kStore, pass);
kmfSpi.engineInit(mfp);