package org.bouncycastle.crypto.params;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class RSAKeyGenerationParameters extends org.bouncycastle.crypto.KeyGenerationParameters {
    private java.math.BigInteger c;
    private int d;

    public RSAKeyGenerationParameters(java.math.BigInteger bigInteger, java.security.SecureRandom secureRandom, int i, int i2) {
        super(secureRandom, i);
        if (i < 12) {
            throw new java.lang.IllegalArgumentException("key strength too small");
        }
        if (!bigInteger.testBit(0)) {
            throw new java.lang.IllegalArgumentException("public exponent cannot be even");
        }
        this.c = bigInteger;
        this.d = i2;
    }

    public int c() {
        return this.d;
    }

    public java.math.BigInteger d() {
        return this.c;
    }
}
