Getting the SHA1 Hask of a certificate public key



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


.



Relevant Pages

  • Re: Hash of Public key
    ... I answered you several times you can hash your public key in many different ... Calculate hash on concatenation of little endian modulus with little ...
    (microsoft.public.platformsdk.security)
  • Re: Hash of Public key
    ... other devices (not mine obviously like PC can be UPnP device too, WiFi, ... >I answered you several times you can hash your public key in many different ... Calculate hash on concatenation of little endian modulus with little ...
    (microsoft.public.platformsdk.security)
  • Re: Hash of Public key
    ... I answered you several times you can hash your public key in many different ... Calculate hash on concatenation of little endian modulus with little ...
    (microsoft.public.security)
  • Re: Hash of Public key
    ... other devices (not mine obviously like PC can be UPnP device too, WiFi, ... >I answered you several times you can hash your public key in many different ... Calculate hash on concatenation of little endian modulus with little ...
    (microsoft.public.security)
  • A new public key algorithm based on avalanche properties
    ... The overall scheme is to create a public key ... permutations, due to the multiple layers and interactions ... hash of the private key of that person. ...
    (sci.crypt)