re-expose pkcs1_digest_info parser

we don't really care about the native ASN algo. we care about a hash function we
know about here.
port certificate.ml

explicit hash->hashfn dispatch considered sooooo 2011...