public class BCMLDSAPublicKey extends java.lang.Object implements MLDSAPublicKey
| Constructor and Description |
|---|
BCMLDSAPublicKey(MLDSAPublicKeyParameters params) |
BCMLDSAPublicKey(SubjectPublicKeyInfo keyInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this ML-DSA public key with another object.
|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
MLDSAParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
byte[] |
getPublicData()
Return the raw encoded data representing the public key: rho || t1.
|
int |
hashCode() |
java.lang.String |
toString() |
public BCMLDSAPublicKey(MLDSAPublicKeyParameters params)
public BCMLDSAPublicKey(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the other objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic byte[] getPublicData()
MLDSAPublicKeygetPublicData in interface MLDSAPublicKeypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic MLDSAParameterSpec getParameterSpec()
MLDSAKeygetParameterSpec in interface MLDSAKeypublic java.lang.String toString()
toString in class java.lang.Object