public class MLDSAPublicKey
extends iaik.x509.PublicKeyInfo
References: [0] PublicKeyInfo [1] FIPS 204
| Constructor and Description |
|---|
MLDSAPublicKey(byte[] encoded)
Create public key from 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() |
int |
hashCode()
Returns the hash code for this MLDSAPublicKey object
|
public MLDSAPublicKey(byte[] encoded)
throws InvalidKeyException
encoded - public key encoded as ASN.1 byte sequenceInvalidKeyExceptionprotected 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–2024 Stiftung SIC. All rights reserved.