[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-cryptoapi
Subject:    Re: CRYPT_ENCRYPT_MESSAGE_PARA.hCryptProv
From:       Thomas Weigold <twe () ZURICH ! IBM ! COM>
Date:       1999-10-19 14:50:25
[Download RAW message or body]


Well,  to find out what's available on the system you can iterate
through all providers (using e.g. CryptEnumProviders) and check
their capabilities (CryptGetProvParam with PP_ENUMALGS).
However, popular mail clients like MS Outlook and Netscape
do support S/MIME v2 (not  v3 which introduces DSA) and therefore
anything other than RSA is unlikely to occur.

Cheers,
 Thomas





Thomas Riedrich <riedrich@QUAZAR.DE> on 10/19/99 16:18:14

Please respond to Microsoft Cryptographic API <CryptoAPI@DISCUSS.MICROSOFT.COM>

To:   CryptoAPI@DISCUSS.MICROSOFT.COM
cc:    (bcc: Thomas D Weigold/Zurich/IBM)

Subject:  Re: CRYPT_ENCRYPT_MESSAGE_PARA.hCryptProv



Thanks for your reply, Thomas.

All right, the supplied provider must support the encryption algorithm
specified in the ContentEncryptionAlgorithm field in the same structure.

But shouldn't the provider also support the public key types of all
recipients? For example, if I use the structure in a call to
CryptEncryptMessage, and suppose that the list of recipient's public keys
include all sorts of different key types (RSA, DHH, ..., ?), then the
provider must surely support encryption for all these key types?

Putting the question more generally, given a certificate, how do I find a
crypto-provider that supports encryption/signature verification for the type
of public key in the certificate?

Thanks again,

Thomas Riedrich

----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic