27 lines
826 B
Java
27 lines
826 B
Java
package org.bouncycastle.crypto.params;
|
|
|
|
import java.math.BigInteger;
|
|
import org.bouncycastle.crypto.CipherParameters;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public class RSABlindingParameters implements CipherParameters {
|
|
private BigInteger blindingFactor;
|
|
private RSAKeyParameters publicKey;
|
|
|
|
public RSAKeyParameters getPublicKey() {
|
|
return this.publicKey;
|
|
}
|
|
|
|
public BigInteger getBlindingFactor() {
|
|
return this.blindingFactor;
|
|
}
|
|
|
|
public RSABlindingParameters(RSAKeyParameters rSAKeyParameters, BigInteger bigInteger) {
|
|
if (rSAKeyParameters instanceof RSAPrivateCrtKeyParameters) {
|
|
throw new IllegalArgumentException("RSA parameters should be for a public key");
|
|
}
|
|
this.publicKey = rSAKeyParameters;
|
|
this.blindingFactor = bigInteger;
|
|
}
|
|
}
|