I generated the file "42.txt.p7m" in the attachment using the command:

openssl cms -sign -in 42.txt -outform der -out 42.txt.p7m -keyid -signer selfSignedCert.pem -inkey private.key


When I inspect it using the command

openssl asn1parse -inform der -i -in 42.txt.p7m

I can't see inside the structure SignerInfo the content of the field SignerIdentifier, which is a SubjectKeyIdentifier, but only:

1032:d=5  hl=2 l=  20 prim:      cont [ 0 ]

while I expected something like "... OCTET STRING      [HEX DUMP]: ...".


Is it a bug?


Thanks in advance,
   Giacomo Boccardo

Attachment: 42.txt.p7m
Description: Binary data

Reply via email to