MlDsaSignature

data class MlDsaSignature(val signature: ByteArray) : Signature

An ML-DSA digital signature (FIPS 204).

Parameters

signature

the raw signature bytes.

Constructors

Link copied to clipboard
constructor(signature: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toCoseEncoded(): ByteArray

Encodes the signature for use in COSE or JWT.

Link copied to clipboard
open override fun toDataItem(): DataItem

Serializes this signature as a CBOR DataItem.

Link copied to clipboard
open override fun toDerEncoded(): ByteArray

Encodes the signature for use in ASN.1 DER structures such as X.509 certificates and CRLs.