Class RSACore.BlindingParameters
- java.lang.Object
-
- es.gob.jmulticard.jse.provider.rsacipher.RSACore.BlindingParameters
-
- Enclosing class:
- RSACore
private static final class RSACore.BlindingParameters extends java.lang.Object
Set of blinding parameters for a given RSA key. The RSA modulus is usually unique, so we index by modulus inBLINDING_CACHE
. However, to protect against the unlikely case of two keys sharing the same modulus, we also store the public or the private exponent. This means we cannot cache blinding parameters for multiple keys that share the same modulus, but since sharing moduli is fundamentally broken and insecure, this does not matter.
-
-
Constructor Summary
Constructors Constructor Description BlindingParameters(java.math.BigInteger exponent, java.math.BigInteger privateExponent, java.math.BigInteger modulus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) RSACore.BlindingRandomPair
getBlindingRandomPair(java.math.BigInteger exponent, java.math.BigInteger privateRsaExponentHash, java.math.BigInteger n)
-
-
-
Method Detail
-
getBlindingRandomPair
RSACore.BlindingRandomPair getBlindingRandomPair(java.math.BigInteger exponent, java.math.BigInteger privateRsaExponentHash, java.math.BigInteger n)
-
-