CoseSign1

constructor(protectedHeaders: Map<CoseLabel, DataItem>, unprotectedHeaders: Map<CoseLabel, DataItem>, signature: ByteArray, payload: ByteArray?)

Parameters

protectedHeaders

protected headers.

unprotectedHeaders

unprotected headers.

signature

the signature.

payload

the payload, if available.