Class BCKyberPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.kyber.BCKyberPublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,KyberKey
,KyberPublicKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BCKyberPublicKey
-
BCKyberPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this Kyber public 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
-
getFormat
-
getParameterSpec
Description copied from interface:KyberKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceKyberKey
- Returns:
- a KyberParameterSpec
-