CoseSigned

@Serializable
data class CoseSigned(val protectedHeader: ByteStringWrapper<CoseHeader>, val unprotectedHeader: CoseHeader?, val payload: ByteArray?, rawSignature: ByteArray)(source)

Representation of a signed COSE_Sign1 object, i.e. consisting of protected header, unprotected header and payload.

See RFC 9052.

Constructors

Link copied to clipboard
constructor(protectedHeader: ByteStringWrapper<CoseHeader>, unprotectedHeader: CoseHeader?, payload: ByteArray?, signature: CryptoSignature.RawByteEncodable)
constructor(protectedHeader: ByteStringWrapper<CoseHeader>, unprotectedHeader: CoseHeader?, payload: ByteArray?, rawSignature: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
open override fun toString(): String