Class BCMLKEMPublicKey
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.mlkem.BCMLKEMPublicKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PublicKey, BCKey, MLKEMKey, MLKEMPublicKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface AsymmetricKey
getParams
-
Constructor Details
-
BCMLKEMPublicKey
-
BCMLKEMPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "ML-KEM" followed by the parameter type.
-
getPublicData
public byte[] getPublicData()Description copied from interface:MLKEMPublicKeyReturn the raw encoded data representing the public key: t || rho.- Specified by:
getPublicDatain interfaceMLKEMPublicKey- Returns:
- the concatenation of t and rho.
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-
getParameterSpec
Description copied from interface:MLKEMKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceMLKEMKey- Returns:
- a MLKEMParameterSpec
-
toString
-