Class BCFalconPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.falcon.BCFalconPrivateKey
- All Implemented Interfaces:
Serializable,Key,PrivateKey,Destroyable,FalconKey,FalconPrivateKey
- See Also:
-
Constructor Details
-
BCFalconPrivateKey
-
BCFalconPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this Falcon private key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "FALCON-512 or FALCON-1024"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getParameterSpec
Description copied from interface:FalconKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceFalconKey- Returns:
- a FalconParameterSpec
-
getFormat
-
getPublicKey
Description copied from interface:FalconPrivateKeyReturn the public key corresponding to this private key.- Specified by:
getPublicKeyin interfaceFalconPrivateKey- Returns:
- a Falcon Public Key
-