Hi everybody,
when experimenting with OpenSSL v0.9.9 (since that version allows
choosing the digest algorithm when creating a PKCS#7 structure) I
encountered an odd behaviour: no matter what argument was specified for
the "-md" parameter, the resulting PKCS#7 structure had the SHA-1 OID
set in all occurrences.
Is that problem related to the prerelease status of that version or was
it caused by an unclean installation on my machine?

Secondly (and that's the reason why I checked this thing in the first
place): does anybody know whether there's a standardised way to set the
OIDs for digest/cipher algorithm fields when using signing algorithms
such as ECDSA-with-SHA224? My guess would be that the digest algorithm
OID is set to id-sha224 (2.16.840.1.101.3.4.2.4) and the cipher
algorithm OID to ecdsa-with-SHA224 (1.2.840.10045.4.3.1), but I'd like
to be sure :)

So, if somebody could clarify the "-md" problem for me and point me to
standardisation document for the ECSDA OID I'd be very grateful!

Thanks in advance!
Uli



-- 
Ulrich Matejek
FlexSecure GmbH
Industriestraße 12
64297 Darmstadt

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to