Re: Asymmetric Encryption Using Certificates

From: David Cross [MS] (dcross_at_online.microsoft.com)
Date: 09/08/03


Date: Mon, 8 Sep 2003 06:29:53 -0700


Have you looked at the CAPICOM methods using the COM control? There are
some great samples in the SDK for CAPICOM as well as a robust community of
samples out there.

-- 
David B. Cross [MS]
--
This posting is provided "AS IS" with no warranties, and confers no rights.
http://support.microsoft.com
"AAA" <aminrozie@yahoo.com> wrote in message
news:3f59ee72_1@news.tm.net.my...
> Hi,
> Need advise and help on the above. Using MS SDK and MS Certificate Server,
I
> have created a self-signed CA within an organization and all user
> certificates are distributed in floppy diskettes and all access to secure
> websites will require users to insert the floppy disk.
>
> The certificate in the floppy is encrypted using a symmetric encryption,
> using the user supplied password as the key. This has been successfully
> tested.
>
> Our next phase is to develop a system to encrypt some files in the
> organization using the certificates public key and those with the
> certificates issued by the same CA can decrypt those files. Can anyone
give
> me an example code, in VB or ASP, to perform this function? The files are
> uploaded from the creator to the WWW Server.
>
> I have looked into SDK documentation and none of them show the example to
do
> them. Is it correct to assume that before encrypting, I need to retrieve
the
> public key from the certificate and use this key to encrypt the file and
> then other user may encrypt the file using their public key? If so, which
> command or function do I call to execute the above task?
>
> thanks.
>
>
>


Relevant Pages

  • Re: Public Encryption Key
    ... encrypt the message with the recipient's public key (or ... the two can be combined by: first do a digital signature of the ... certificate, certifying the validity of the assertion (ex: ...
    (comp.security.misc)
  • Re: Public Encryption Key
    ... encrypt the message with the recipient's public key (or ... the two can be combined by: first do a digital signature of the ... certificate, certifying the validity of the assertion (ex: ...
    (sci.crypt)
  • Re: Entourage mail and PGP/GPG?
    ... You can digitally sign messages and encrypt them using CA. ... using a certificate for each recipient. ... certificate (public key) and the validation chain. ...
    (microsoft.public.mac.office.entourage)
  • Re: RSA Encrypt/Decrypt Problems
    ... CAPICOM is extremely easy to use in .NET. ... use CAPICOM, you really need the certificate, not just the public key. ... > then encrypt it with the other public key. ...
    (microsoft.public.dotnet.security)
  • Re: TLS-certificates and interoperability-issues sendmail / Exchange / postfix ..
    ... > to assert that certificate validation doesn't happen, ... this trusted public key store contains public keys of that the ... signed by the CA. this digital certificate is returned to the "key ...
    (comp.security.unix)