From d4c6d4ff9486ab6496205967cf4b4e03336974aa Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Fri, 14 Jul 2023 16:43:47 +0000 Subject: [PATCH] Fixed encoding of `SubjectKeyIdentifier` (#1152) Co-authored-by: Bernd Krietenstein --- cms/src/signed_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/src/signed_data.rs b/cms/src/signed_data.rs index bd5e3e74c..04ff9eb35 100644 --- a/cms/src/signed_data.rs +++ b/cms/src/signed_data.rs @@ -169,7 +169,7 @@ pub type SignedAttributes = Attributes; pub enum SignerIdentifier { IssuerAndSerialNumber(IssuerAndSerialNumber), - #[asn1(context_specific = "0", tag_mode = "EXPLICIT")] + #[asn1(context_specific = "0", tag_mode = "IMPLICIT")] SubjectKeyIdentifier(SubjectKeyIdentifier), }