Class GordianRandomSpec
java.lang.Object
io.github.tonywasher.joceanus.gordianknot.api.random.GordianRandomSpec
SecureRandom Specification.
-
Constructor Summary
ConstructorsConstructorDescriptionGordianRandomSpec(GordianRandomType pRandomType, Object pSubSpec, boolean pResistant) Constructor. -
Method Summary
-
Constructor Details
-
GordianRandomSpec
Constructor.- Parameters:
pRandomType- the randomTypepSubSpec- the subSpecpResistant- is the secureRandom predicationResistant?
-
-
Method Details
-
getRandomType
Obtain the randomType.- Returns:
- the randomType.
-
isValid
public boolean isValid()Is the macSpec valid?- Returns:
- true/false.
-
getDigestSpec
Obtain the digestSpec.- Returns:
- the digestSpec.
-
getSymKeySpec
Obtain the symKeySpec.- Returns:
- the symKeySpec.
-
isPredictionResistant
public boolean isPredictionResistant()Obtain the predication resistance.- Returns:
- the resistance.
-
toString
-
equals
-
hashCode
public int hashCode()
-