Class BCKyberPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.kyber.BCKyberPrivateKey
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,Destroyable
,KyberKey
,KyberPrivateKey
- See Also:
-
Constructor Details
-
BCKyberPrivateKey
-
BCKyberPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this Kyber private key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "KYBER512, KYBER768, etc..."
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getPublicKey
Description copied from interface:KyberPrivateKey
Return the public key corresponding to this private key.- Specified by:
getPublicKey
in interfaceKyberPrivateKey
- Returns:
- a Kyber Public Key
-
getParameterSpec
Description copied from interface:KyberKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceKyberKey
- Returns:
- a KyberParameterSpec
-
getFormat
-