Class BCRainbowPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.rainbow.BCRainbowPrivateKey
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,Destroyable
,RainbowKey
,RainbowPrivateKey
- See Also:
-
Constructor Details
-
BCRainbowPrivateKey
-
BCRainbowPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this Rainbow private key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getParameterSpec
Description copied from interface:RainbowKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceRainbowKey
- Returns:
- a RainbowParameterSpec
-
getFormat
-
getPublicKey
Description copied from interface:RainbowPrivateKey
Return the public key corresponding to this private key.- Specified by:
getPublicKey
in interfaceRainbowPrivateKey
- Returns:
- a Rainbow Public Key
-