Class BCMLDSAPublicKey
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.mldsa.BCMLDSAPublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,MLDSAKey
,MLDSAPublicKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BCMLDSAPublicKey
-
BCMLDSAPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this ML-DSA public key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "ML-DSA" followed by the parameter type.
-
getPublicData
public byte[] getPublicData()Description copied from interface:MLDSAPublicKey
Return the raw encoded data representing the public key: rho || t1.- Specified by:
getPublicData
in interfaceMLDSAPublicKey
- Returns:
- the concatenation of rho and t1.
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getFormat
-
getParameterSpec
Description copied from interface:MLDSAKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceMLDSAKey
- Returns:
- a MLDSAParameterSpec
-
toString
-