From b287c6a7c86e0202d0434e80e12f31af288fce8a Mon Sep 17 00:00:00 2001 From: Guilherme Balena Versiani Date: Thu, 28 Sep 2023 02:40:17 +0000 Subject: [PATCH] Added short comment. Signed-off-by: Guilherme Balena Versiani --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a360a7a..f7fccf3 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,8 @@ It is possible to countersign `cose.Sign1Message`, `cose.SignMessage`, `cose.Sig `cose.Countersignature` objects and add them as unprotected headers. In order to do so, first create a countersignature holder with `cose.NewCountersignature()` and call its `Sign` function passing the parent object which is going to be countersigned. Then assign the countersignature as an -unprotected header `cose.HeaderLabelCounterSignatureV2`. +unprotected header `cose.HeaderLabelCounterSignatureV2` or, if preferred, maintain it as a +detached countersignature. When verifying countersignatures, it is necessary to pass the parent object in the `Verify` function of the countersignature holder.