Class GordianNTRUPrimeSpec
java.lang.Object
io.github.tonywasher.joceanus.gordianknot.api.keypair.GordianNTRUPrimeSpec
NTRUPRIME KeySpec.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumNTRUPRIME Parameters.static enumNTRUPRIME Type. -
Constructor Summary
ConstructorsConstructorDescriptionGordianNTRUPrimeSpec(GordianNTRUPrimeSpec.GordianNTRUPrimeType pType, GordianNTRUPrimeSpec.GordianNTRUPrimeParams pParams) Constructor. -
Method Summary
-
Constructor Details
-
GordianNTRUPrimeSpec
public GordianNTRUPrimeSpec(GordianNTRUPrimeSpec.GordianNTRUPrimeType pType, GordianNTRUPrimeSpec.GordianNTRUPrimeParams pParams) Constructor.- Parameters:
pType- the TypepParams- the params
-
-
Method Details
-
getType
Obtain the type.- Returns:
- the type
-
getParams
Obtain the params.- Returns:
- the params
-
isValid
public boolean isValid()Is the keySpec valid?- Returns:
- true/false.
-
toString
-
equals
-
hashCode
public int hashCode() -
listPossibleKeySpecs
Obtain a list of all possible specs.- Returns:
- the list
-