what-the-bank/sources/org/bouncycastle/crypto/agreement/jpake/JPAKERound2Payload.java

34 lines
1.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.crypto.agreement.jpake;
import java.math.BigInteger;
import org.bouncycastle.util.Arrays;
/* loaded from: classes6.dex */
public class JPAKERound2Payload {
private final BigInteger a;
private final BigInteger[] knowledgeProofForX2s;
private final String participantId;
public String getParticipantId() {
return this.participantId;
}
public BigInteger[] getKnowledgeProofForX2s() {
BigInteger[] bigIntegerArr = this.knowledgeProofForX2s;
return Arrays.copyOf(bigIntegerArr, bigIntegerArr.length);
}
public BigInteger getA() {
return this.a;
}
public JPAKERound2Payload(String str, BigInteger bigInteger, BigInteger[] bigIntegerArr) {
JPAKEUtil.validateNotNull(str, "participantId");
JPAKEUtil.validateNotNull(bigInteger, "a");
JPAKEUtil.validateNotNull(bigIntegerArr, "knowledgeProofForX2s");
this.participantId = str;
this.a = bigInteger;
this.knowledgeProofForX2s = Arrays.copyOf(bigIntegerArr, bigIntegerArr.length);
}
}