On Mon, Jan 24, 2011, Giacomo Boccardo wrote:

> 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?
>

No, that's the way implicit tagging works, you don't know the underlying type
because the tag has been replaced.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to