Class BCDilithiumPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.dilithium.BCDilithiumPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, DilithiumKey, DilithiumPrivateKey
- 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
-
BCDilithiumPrivateKey
-
BCDilithiumPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "DILITHIUM2, DILITHIUM3, etc..."
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getPublicKey
Description copied from interface:DilithiumPrivateKeyReturn the public key corresponding to this private key.- Specified by:
getPublicKeyin interfaceDilithiumPrivateKey- Returns:
- a Dilithium Public Key
-
getParameterSpec
Description copied from interface:DilithiumKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceDilithiumKey- Returns:
- a DilithiumParameterSpec
-
getFormat
-