Compute issuerKeyHash
Sept. 16, 2021
4:51 p.m.
Hi, Is there a way to compute the issuer key hash from the certificate issuer? I tried with: public_key = issuer_cert.public_key().public_bytes( Encoding.PEM, PublicFormat.SubjectPublicKeyInfo) print(hashlib.sha1(public_key).digest()) This doesn't seem to be it, I was previously using oscrypto issuerSha1 = cert.asn1.public_key.sha1 is there a way to get this info with pyca/cryptography? Cheers, Jose
1752
Age (days ago)
1752
Last active (days ago)
2 comments
2 participants
participants (2)
-
Alex Gaynor -
pepone.onrez