|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.crypto.constraints.ConstraintUtils
| Constructor Summary | |
ConstraintUtils()
|
|
| Method Summary | |
static int |
bitsOfSecurityFor(java.math.BigInteger p)
Return the bits of security for the passed in RSA modulus or DH/DSA group value. |
static int |
bitsOfSecurityFor(ECCurve curve)
Return the bits of security for the passed in Elliptic Curve. |
static int |
bitsOfSecurityForFF(int strength)
|
static boolean |
isQuantumVulnerable(CryptoServiceProperties service)
Return true if the service is one of the quantum-vulnerable public-key algorithms: the integer factorisation and discrete logarithm schemes NIST IR 8547 deprecates after 2030 and disallows after 2035 (RSA, DSA, DH/MQV, ECDSA/ECDH and their variants, EdDSA, X25519/X448, ElGamal, Cramer-Shoup, Naccache-Stern and the KEMs and key agreements built on them). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConstraintUtils()
| Method Detail |
public static boolean isQuantumVulnerable(CryptoServiceProperties service)
service - the service properties passed to the constraint.
public static int bitsOfSecurityFor(java.math.BigInteger p)
p - a modulus or group value
public static int bitsOfSecurityFor(ECCurve curve)
curve - the ECCurve of interest.
public static int bitsOfSecurityForFF(int strength)
|
Bouncy Castle Cryptography Library 1.87 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||