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.PublicKeyInfo
InvalidKeyException
protected byte[] encode()
encode
in class iaik.x509.PublicKeyInfo
public byte[] getRawBytes()
public String getAlgorithm()
getAlgorithm
in interface Key
getAlgorithm
in class iaik.x509.PublicKeyInfo
public int hashCode()
hashCode
in class iaik.x509.PublicKeyInfo
public boolean equals(Object other)
equals
in class iaik.x509.PublicKeyInfo
Copyright © 2020–2025 Stiftung SIC. All rights reserved.