From 53814840a0275b66e6dbcdd028f248dadf424297 Mon Sep 17 00:00:00 2001 From: Simon Mueller Date: Wed, 4 Dec 2024 14:20:34 +0100 Subject: [PATCH] Documentation --- .../kotlin/at/asitplus/signum/indispensable/cosef/CoseSigned.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indispensable-cosef/src/commonMain/kotlin/at/asitplus/signum/indispensable/cosef/CoseSigned.kt b/indispensable-cosef/src/commonMain/kotlin/at/asitplus/signum/indispensable/cosef/CoseSigned.kt index 854c83646..ee8121e64 100644 --- a/indispensable-cosef/src/commonMain/kotlin/at/asitplus/signum/indispensable/cosef/CoseSigned.kt +++ b/indispensable-cosef/src/commonMain/kotlin/at/asitplus/signum/indispensable/cosef/CoseSigned.kt @@ -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] *