Getting the SHA1 Hask of a certificate public key
- From: "Mike B" <mbrindley@xxxxxxxxx>
- Date: Fri, 16 Dec 2005 14:22:07 +0200
Hi
I need to work with the SHA1 hash of certificate public keys (ie hash of the
subject public key).
Whilst, it is easy to get the MD5 hash, there doesn't seem to be a direct
way to get the SHA1 hash.
ie. There is a CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID constant but no
corresponding CERT_SUBJECT_PUBLIC_KEY_SHA1_HASH_PROP_ID constant.
Am I missing something here, or will I need to calculate my own hash of the
public key using its raw data.
thanks
Mike
.
- Follow-Ups:
- Re: Getting the SHA1 Hask of a certificate public key
- From: DSkrypka
- Re: Getting the SHA1 Hask of a certificate public key
- Prev by Date: Re: Install AES CSP in Win2k and 98
- Next by Date: Re: Getting the SHA1 Hask of a certificate public key
- Previous by thread: Install AES CSP in Win2k and 98
- Next by thread: Re: Getting the SHA1 Hask of a certificate public key
- Index(es):
Relevant Pages
|