Function hash_to_oid

Source
fn hash_to_oid(hash: HashAlgorithm) -> Result<AlgorithmIdentifier>
Expand description

Converts OpenPGP hash algorithm into an OID form for PKCS#1 signing.