Returns the security level of this key.
The bytes (a view; do not mutate).
Number of bytes.
StaticcodecTagged-CBOR codec; decode also accepts the untagged form.
StaticfromCreate an MLDSAPublicKey from raw bytes.
The ML-DSA security level
The public key bytes
Verify a signature against a message.
The ML-DSA signature to verify
The message that was signed
True if the signature is valid
The reference: the digest of the tagged CBOR, as the reference computes it.
The first four bytes of reference() in hex, the reference's ref_hex_short.
The reference's Display: the type name over the short reference.
The CBOR tags this type decodes from; the first one is used to encode.
Returns the untagged CBOR encoding.
Format: [level, key_bytes]
The tagged CBOR form.
As a UR, typed by the first tag's name.
Staticfrom
MLDSAPublicKey - Post-quantum signature verification key using ML-DSA.