28 lines
945 B
Java
28 lines
945 B
Java
|
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;
|
||
|
}
|
||
|
}
|