Re: Trusted Certificates

anonymous_at_discussions.microsoft.com
Date: 04/28/04


Date: Tue, 27 Apr 2004 21:55:29 -0700

Hi

Thank you very much.
I shall try as you said.

I will tell what am doing.

For signing:-

I will find the certificate with public key from the "My"
store with the subject name.
I will take the take the public key using the GetUserKey
api. Then I export the public key "PUBLICKEYBLOB" to a
buffer and store the buffer in a file.
I sign the file using the the CryptSignHash api and store
this also in the file.

For varifying I use CryptVerifySignature. importing the
public key and the signed hash from the file. I have
succeded upto this much.
Now I have to varify whether the signer is trusted or not.
How do I do that. Is it possible to do that without
modifying what I did till now ?

Thanks in advance
Sandi



Relevant Pages

  • Re: UserNameToken with SendNone on Password
    ... > machine key store. ... client only needs the public key. ... just added it to the username field as it is cheap and pretty simple. ... have the logic to require an authenticated SCT signed the soap body. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Problems With Public Key Cryptosystems
    ... >] that Publish Products of Large Prime Numbers as a Public Key ... >]Problems with public key cryptosystems that publish products of large ... >]is that an attacker can in his or her spare time precompute and store ... plant by way of advanced 5 dimensional technology where special growth ...
    (sci.crypt)
  • Re: Crypto API
    ... So I suppose I could make the public key of the ... > You would need to store the public key or certificate of the second user ... > encryption sharing when using PK base encryption ... >> I am trying to store encrypted data that a different user(user ...
    (microsoft.public.security)
  • RE: CryptImportKey Question
    ... After this line - "CryptExportKey- export the public key to a ... KEYBLOB.", you need to store the blob in a file or registry (in my code, I store it in ... a blob). ... bRet = CryptImportKey; ...
    (microsoft.public.platformsdk.security)
  • Re: Trusted Certificates
    ... public key (RSAPublicKey format). ... If you need to understand more about the various possible "public key" formats see: ... Of course you can store entire certificates. ... > thats true if I have the certificate. ...
    (microsoft.public.platformsdk.security)