what-the-bank/sources/org/bouncycastle/crypto/AsymmetricCipherKeyPair.java

28 lines
945 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.crypto;
import org.bouncycastle.crypto.params.AsymmetricKeyParameter;
/* loaded from: classes6.dex */
public class AsymmetricCipherKeyPair {
private AsymmetricKeyParameter privateParam;
private AsymmetricKeyParameter publicParam;
public AsymmetricKeyParameter getPublic() {
return this.publicParam;
}
public AsymmetricKeyParameter getPrivate() {
return this.privateParam;
}
public AsymmetricCipherKeyPair(AsymmetricKeyParameter asymmetricKeyParameter, AsymmetricKeyParameter asymmetricKeyParameter2) {
this.publicParam = asymmetricKeyParameter;
this.privateParam = asymmetricKeyParameter2;
}
public AsymmetricCipherKeyPair(CipherParameters cipherParameters, CipherParameters cipherParameters2) {
this.publicParam = (AsymmetricKeyParameter) cipherParameters;
this.privateParam = (AsymmetricKeyParameter) cipherParameters2;
}
}