Class GordianKeyPairSpec
java.lang.Object
io.github.tonywasher.joceanus.gordianknot.api.keypair.GordianKeyPairSpec
Asymmetric KeyPair Specification.
-
Constructor Summary
ConstructorsConstructorDescriptionGordianKeyPairSpec(GordianKeyPairType pKeyType, Object pSubKeyType) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanObtain the Bike keySpec.Obtain the CMCE keySpec.Obtain the DH Group.Obtain the DSA keyType.Obtain the elliptic curve.Obtain the elliptic curve.Obtain the Falcon keySpec.Obtain the FRODO keySpec.Obtain the HQC keySpec.Obtain the hss keySpec.Obtain the keyPairType.Obtain the lms keySpec.Obtain the Mayo keySpec.Obtain the MLDSA keySpec.Obtain the MLKEM keySpec.Obtain the NTRU keySpec.Obtain the NTRUPRIME keySpec.Obtain the Picnic keySpec.Obtain the RSAmodulus.Obtain the Saber keySpec.Obtain the SLHDSA keySpec.Obtain the Snova keySpec.Obtain the subKeyType.Obtain the XMSS digestType.Obtain the XMSS keySpec.inthashCode()booleanis the use subType for signatures?booleanisValid()Is the keySpec valid?Obtain the composite keySpec iterator.toString()
-
Constructor Details
-
GordianKeyPairSpec
Constructor.- Parameters:
pKeyType- the keyTypepSubKeyType- the subKeyType
-
-
Method Details
-
getKeyPairType
Obtain the keyPairType.- Returns:
- the keyPairType.
-
getSubKeyType
Obtain the subKeyType.- Returns:
- the keyType.
-
isValid
public boolean isValid()Is the keySpec valid?- Returns:
- true/false.
-
getRSAModulus
Obtain the RSAmodulus.- Returns:
- the modulus.
-
getDSAKeyType
Obtain the DSA keyType.- Returns:
- the keyType.
-
getDHGroup
Obtain the DH Group.- Returns:
- the dhGroup.
-
getElliptic
Obtain the elliptic curve.- Returns:
- the curve.
-
getEdwardsElliptic
Obtain the elliptic curve.- Returns:
- the curve.
-
getLMSKeySpec
Obtain the lms keySpec.- Returns:
- the keySpec.
-
getHSSKeySpec
Obtain the hss keySpec.- Returns:
- the keySpec.
-
getXMSSKeySpec
Obtain the XMSS keySpec.- Returns:
- the keySpec.
-
getXMSSDigestType
Obtain the XMSS digestType.- Returns:
- the digestType.
-
getSLHDSAKeySpec
Obtain the SLHDSA keySpec.- Returns:
- the keySpec.
-
getCMCEKeySpec
Obtain the CMCE keySpec.- Returns:
- the keySpec.
-
getFRODOKeySpec
Obtain the FRODO keySpec.- Returns:
- the keySpec.
-
getSABERKeySpec
Obtain the Saber keySpec.- Returns:
- the keySpec.
-
getMLKEMKeySpec
Obtain the MLKEM keySpec.- Returns:
- the keySpec.
-
getMLDSAKeySpec
Obtain the MLDSA keySpec.- Returns:
- the keySpec.
-
getHQCKeySpec
Obtain the HQC keySpec.- Returns:
- the keySpec.
-
getBIKEKeySpec
Obtain the Bike keySpec.- Returns:
- the keySpec.
-
getNTRUKeySpec
Obtain the NTRU keySpec.- Returns:
- the keySpec.
-
getNTRUPrimeKeySpec
Obtain the NTRUPRIME keySpec.- Returns:
- the keySpec.
-
getFalconKeySpec
Obtain the Falcon keySpec.- Returns:
- the keySpec.
-
getMayoKeySpec
Obtain the Mayo keySpec.- Returns:
- the keySpec.
-
getSnovaKeySpec
Obtain the Snova keySpec.- Returns:
- the keySpec.
-
getPicnicKeySpec
Obtain the Picnic keySpec.- Returns:
- the keySpec.
-
keySpecIterator
Obtain the composite keySpec iterator.- Returns:
- the keySpec iterator.
-
toString
-
equals
-
hashCode
public int hashCode() -
isStateAware
public boolean isStateAware()is the use subType for signatures?- Returns:
- true/false
-