nethsm::openpgp

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.