fn hash_to_oid(hash: HashAlgorithm) -> Result<AlgorithmIdentifier>
Expand description
Converts OpenPGP hash algorithm into an OID form for PKCS#1 signing.
fn hash_to_oid(hash: HashAlgorithm) -> Result<AlgorithmIdentifier>
Converts OpenPGP hash algorithm into an OID form for PKCS#1 signing.