public void Init(
            KeyGenerationParameters parameters)
        {
			if (parameters is RsaKeyGenerationParameters)
			{
				this.param = (RsaKeyGenerationParameters)parameters;
			}
			else
			{
				this.param = new RsaKeyGenerationParameters(
					DefaultPublicExponent, parameters.Random, parameters.Strength, DefaultTests);
			}
        }
        public override bool Equals(
            object obj)
        {
            RsaKeyGenerationParameters other = obj as RsaKeyGenerationParameters;

            if (other == null)
            {
                return(false);
            }

            return(certainty == other.certainty &&
                   publicExponent.Equals(other.publicExponent));
        }