Class BCRainbowPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.rainbow.BCRainbowPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, RainbowKey, RainbowPrivateKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParamsMethods inherited from interface Destroyable
destroy, isDestroyed
-
Constructor Details
-
BCRainbowPrivateKey
-
BCRainbowPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
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
-