Re: Asymmetric Encryption in VBA



Do you want this dialog integrated into Outlook? I can help you with that,
but any programming that has to do with cryptography or web access is outside
of the scope of this forum.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Reto Huber" wrote:

Hi Eric

I don't want to encrypt the emails. I would like to add a dialog to call a
website. To its URL I would like to add some parameters. These parameters
should be stored on the client side (on the clients registry) and they have
to be encrypted.
I can call some cryptographic functions of the advapi32.dll but I didn't get
the clue to use my already existing public key :-(

Kindest regards,
Reto

"Eric Legault [MVP - Outlook]" <elegaultZZZ@xxxxxxxxxxxxxxxxx> wrote in
message news:1EF9744F-E036-46F5-8F45-1777F543959E@xxxxxxxxxxxxxxxx
Do you want to encrypt outgoing e-mails? There are no programming
interfaces
for encryption or digital certificates or anything similar with Outlook.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Reto Huber" wrote:

Hi everybody



I would like to encrypt a string with a public key (in Outlook), send the
encrypted data to a server and decrypt the data on the server with the
private key (an application server which isn't part of the problem now).
Unfortunately I couldn't find an example or a description to encrypt the
data with VBA and Outlook 2003 (Windows XP). There are examples for
symmetric encryption but no one that shows the asymmetric encryption. Can
somebody explain me how I can import the public key into the VBA Program
and
encrypt the data? The public key does already exist as a byte stream.



Thank you in advanced for your help.



Kindest regards,

Reto






.



Relevant Pages

  • Re: how do u log out of outlook
    ... Exit Outlook. ... Don't save a password in the account defined in Outlook. ... Well, to be accurate, you need the recipient's public key for their mail certificate so you can encrypt your message and only they with their private key can decrypt it. ...
    (microsoft.public.outlook)
  • Re: OutlookXP defaults to 40-bit encryption
    ... >From form limited material I have read, if Outlook Express receives a signed ... Other S-MIME capable clients may or may-not ... item, which if received by OE, OE will use to encrypt with 3DES to my email identity. ... S-MIME capable clients and if/how they implement this encryption-preference functionality. ...
    (microsoft.public.security)
  • Outlook 2003 Encrypt Message Using Wrong Certificate
    ... recipient and use the public key found there to encrypt the message. ... Outlook 2003 on my machine does not do that. ... goes out - encrypted using my cert - and unreadable by the recipient. ...
    (microsoft.public.outlook.general)
  • RE: using certificates in Outlook for encryption
    ... Outlook XP. ... go the Certificates tab and click Import. ... both encrypt with their pub key and sign with your private. ... > over the fact that you can send your public key in an email message to ...
    (Focus-Microsoft)
  • Re: Asymmetric Encryption in VBA
    ... Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.) ... Try Picture Attachments Wizard for Outlook: ... I don't want to encrypt the emails. ... I would like to encrypt a string with a public key, ...
    (microsoft.public.outlook.program_vba)