Companion

object Companion

Functions

Link copied to clipboard
fun <P : Any> deserialize(parameterSerializer: KSerializer<P>, it: ByteArray): KmmResult<CoseSigned<P>>
Link copied to clipboard
fun <P : Any> prepareCoseSignatureInput(protectedHeader: CoseHeader, payload: P?, serializer: KSerializer<P>, externalAad: ByteArray = byteArrayOf()): ByteArray

Called by COSE signing implementations to get the bytes that will be used as the input for signature calculation of a COSE_Sign1 object