Class BCDilithiumPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.dilithium.BCDilithiumPrivateKey
- All Implemented Interfaces:
Serializable,Key,PrivateKey,Destroyable,DilithiumKey,DilithiumPrivateKey
- See Also:
-
Constructor Details
-
BCDilithiumPrivateKey
-
BCDilithiumPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this Dilithium private key with another object. -
hashCode
public int 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
-