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 sequenceInvalidKeyException
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–2024 Stiftung SIC. All rights reserved.