Package | Description |
---|---|
iaik.security.ec.common |
Modifier and Type | Method and Description |
---|---|
static SecurityStrength |
SecurityStrength.getSecurityStrength(BigInteger order)
Determines the security strength for a given key size as specified by [1,
Table 2].
|
static SecurityStrength |
SecurityStrength.getSecurityStrength(int keySize)
Determines the security strength for a given key size as specified by [1,
Table 2].
|
static SecurityStrength |
SecurityStrength.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityStrength[] |
SecurityStrength.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Util.checkSecureRandom(SecureRandom random,
SecurityStrength securityStrength)
Checks whether the given PRNG is a valid NIST SP800-90 PRNG (see [3]) with
the required security strength.
|
static void |
Util.checkSecureRandom(String randomAlgorithm,
SecurityStrength securityStrength)
Checks whether the given PRNG is a valid NIST SP800-90 PRNG (see [3]) with
the required security strength.
|
static MessageDigest |
SecurityStrength.getMessageDigest(SecurityStrength securityStrength)
Returns an message digest instance whose security strength matches the
given security strength (see [1, Table 3] and [2, Table D.1]).
|
static SecureRandom |
SecurityStrength.getSecureRandom(SecurityStrength securityStrength)
Returns an approved secure random number generator (HASH_DRBG [3]) whose
security strength matches the given key size (see [1, Table 3] and [2,
Table D.1]).
|
Copyright © 2011–2022 Stiftung SIC. All rights reserved.