}
public void initialize(AlgorithmParameterSpec params)
throws InvalidAlgorithmParameterException
{
kpg = new McElieceKeyPairGenerator();
super.initialize(params);
ECCKeyGenParameterSpec ecc = (ECCKeyGenParameterSpec)params;
McElieceKeyGenerationParameters mccKGParams = new McElieceKeyGenerationParameters(new SecureRandom(), new McElieceParameters(ecc.getM(), ecc.getT()));
kpg.init(mccKGParams);