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:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getParameterSpec
Description copied from interface:RainbowKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceRainbowKey- Returns:
- a RainbowParameterSpec
-
getFormat
-
getPublicKey
Description copied from interface:RainbowPrivateKeyReturn the public key corresponding to this private key.- Specified by:
getPublicKeyin interfaceRainbowPrivateKey- Returns:
- a Rainbow Public Key
-