Platform SDK: Cryptography |
All RSA digital signature blocks contain an ASN.1 encoded hash algorithm identification string. The following table lists the encoding for the algorithms supported by the Microsoft Base Cryptographic Provider. These algorithms are also supported by most other RSA CSPs.
Algorithm | Encoding |
---|---|
MD2 | 10 04 00 05 02 02 0d f7 |
MD4 | 10 04 00 05 04 02 0d f7 |
MD5 | 10 04 00 05 05 02 0d f7 |
SHA | 14 04 00 05 1a 02 03 0e |
The encoded OID strings shown in the previous table include wrapper bytes. For example, the encoded string shown for SHA contains the following information (for clarity, the bytes are in reverse order).