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

24 lines
644 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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);
}
}