A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Asymmetric Encryption in VBA



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 11th 08, 09:39 AM posted to microsoft.public.outlook.program_vba
Reto Huber
external usenet poster
 
Posts: 3
Default Asymmetric Encryption in VBA

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


  #2  
Old March 12th 08, 05:48 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Asymmetric Encryption in VBA

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



  #3  
Old March 12th 08, 06:44 PM posted to microsoft.public.outlook.program_vba
Reto Huber
external usenet poster
 
Posts: 3
Default Asymmetric Encryption in VBA

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]" wrote in
message ...
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





  #4  
Old March 12th 08, 07:27 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default 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]" wrote in
message ...
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






  #5  
Old March 13th 08, 05:49 PM posted to microsoft.public.outlook.program_vba
Reto Huber
external usenet poster
 
Posts: 3
Default Asymmetric Encryption in VBA

Thank you for your help. But the dialog isn't the problem. I'll keep on
trying for the cryptography.

Kindest regards,
Reto

"Eric Legault [MVP - Outlook]" wrote in
message ...
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]" wrote in
message ...
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








 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
encryption error DarenZ Outlook - Installation 0 September 14th 07 06:18 PM
Encryption in email Maurice Outlook - General Queries 1 March 19th 07 10:32 PM
E-mail encryption using PKI jasebert Outlook - General Queries 4 September 26th 06 04:25 AM
OE Encryption Dennis_H Outlook Express 4 March 22nd 06 07:30 PM
Problem with encryption Brian Sadler Outlook - General Queries 1 January 31st 06 10:30 AM


All times are GMT +1. The time now is 11:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.