38 lines
933 B
Java
38 lines
933 B
Java
package org.bouncycastle.crypto.params;
|
|
|
|
import org.bouncycastle.util.Arrays;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public class DHValidationParameters {
|
|
private int counter;
|
|
private byte[] seed;
|
|
|
|
public int hashCode() {
|
|
return this.counter ^ Arrays.hashCode(this.seed);
|
|
}
|
|
|
|
public byte[] getSeed() {
|
|
return this.seed;
|
|
}
|
|
|
|
public int getCounter() {
|
|
return this.counter;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (!(obj instanceof DHValidationParameters)) {
|
|
return false;
|
|
}
|
|
DHValidationParameters dHValidationParameters = (DHValidationParameters) obj;
|
|
if (dHValidationParameters.counter != this.counter) {
|
|
return false;
|
|
}
|
|
return Arrays.areEqual(this.seed, dHValidationParameters.seed);
|
|
}
|
|
|
|
public DHValidationParameters(byte[] bArr, int i) {
|
|
this.seed = bArr;
|
|
this.counter = i;
|
|
}
|
|
}
|