prepare
fun <P : Any> prepare(protectedHeader: CoseHeader, externalAad: ByteArray = byteArrayOf(), payload: P?, payloadSerializer: KSerializer<P>): CoseSignatureInput(source)
Use this method to prepare a CoseSignatureInput object to calculate the signature, and then call create to create a CoseSigned object.