public class MLDSAPublicKey
extends iaik.x509.PublicKeyInfo
References:
| Constructor and Description |
|---|
MLDSAPublicKey(byte[] encoded)
Creates a new MLDSAPublicKey instance from an ASN.1 encoded byte sequence.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(byte[] bytes) |
protected byte[] |
encode() |
boolean |
equals(Object other) |
String |
getAlgorithm() |
byte[] |
getRawBytes()
Returns the raw public key bytes without ASN.1 encoding.
|
int |
hashCode() |
public MLDSAPublicKey(byte[] encoded)
throws InvalidKeyException
encoded - The ASN.1 encoded public key bytes.InvalidKeyException - If the encoded data is invalid.protected void decode(byte[] bytes)
throws InvalidKeyException
decode in class iaik.x509.PublicKeyInfoInvalidKeyExceptionprotected byte[] encode()
encode in class iaik.x509.PublicKeyInfopublic byte[] getRawBytes()
public String getAlgorithm()
getAlgorithm in interface KeygetAlgorithm in class iaik.x509.PublicKeyInfopublic int hashCode()
hashCode in class iaik.x509.PublicKeyInfopublic boolean equals(Object other)
equals in class iaik.x509.PublicKeyInfoCopyright © 2020–2025 Stiftung SIC. All rights reserved.