what-the-bank/sources/org/bouncycastle/crypto/params/DSAParameterGenerationParam...

47 lines
1.1 KiB
Java

package org.bouncycastle.crypto.params;
import java.security.SecureRandom;
/* loaded from: classes6.dex */
public class DSAParameterGenerationParameters {
public static final int DIGITAL_SIGNATURE_USAGE = 1;
public static final int KEY_ESTABLISHMENT_USAGE = 2;
private final int certainty;
private final int l;
private final int n;
private final SecureRandom random;
private final int usageIndex;
public int getUsageIndex() {
return this.usageIndex;
}
public SecureRandom getRandom() {
return this.random;
}
public int getN() {
return this.n;
}
public int getL() {
return this.l;
}
public int getCertainty() {
return this.certainty;
}
public DSAParameterGenerationParameters(int i, int i2, int i3, SecureRandom secureRandom, int i4) {
this.l = i;
this.n = i2;
this.certainty = i3;
this.usageIndex = i4;
this.random = secureRandom;
}
public DSAParameterGenerationParameters(int i, int i2, int i3, SecureRandom secureRandom) {
this(i, i2, i3, secureRandom, -1);
}
}