Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
n0900 committed Dec 4, 2024
1 parent 5e77b71 commit 5381484
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import kotlinx.serialization.cbor.CborArray
*
* If the payload is a generic [ByteArray], then it will be serialized as-is. Should the payload be any other type,
* the [CoseSignedSerializer] will tag it with 24 (see [RFC8949 3.4.5.1](https://www.rfc-editor.org/rfc/rfc8949.html#name-encoded-cbor-data-item)) during serialization.
* In order to prevent nested wrapping of the payload and the concomitant type erasure
* In order to prevent nested wrapping of the payload and the resulting type erasure
* payloads of type [ByteStringWrapper] will be rejected.
* In this case the payload could be handed over as the wrapped class itself or manually serialized to [ByteArray]
*
Expand Down

0 comments on commit 5381484

Please sign in to comment.