what-the-bank/sources/org/bouncycastle/pqc/crypto/ExchangePair.java

24 lines
644 B
Java

package org.bouncycastle.pqc.crypto;
import org.bouncycastle.crypto.params.AsymmetricKeyParameter;
import org.bouncycastle.util.Arrays;
/* loaded from: classes6.dex */
public class ExchangePair {
private final AsymmetricKeyParameter publicKey;
private final byte[] shared;
public byte[] getSharedValue() {
return Arrays.clone(this.shared);
}
public AsymmetricKeyParameter getPublicKey() {
return this.publicKey;
}
public ExchangePair(AsymmetricKeyParameter asymmetricKeyParameter, byte[] bArr) {
this.publicKey = asymmetricKeyParameter;
this.shared = Arrays.clone(bArr);
}
}