Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
GeneralRe: Enums in C# Pin
OsoreWatashi10-May-08 8:25
OsoreWatashi10-May-08 8:25 
GeneralRe: Enums in C# Pin
Anthony Mushrow10-May-08 8:43
professionalAnthony Mushrow10-May-08 8:43 
AnswerRe: Enums in C# Pin
Ennis Ray Lynch, Jr.10-May-08 17:37
Ennis Ray Lynch, Jr.10-May-08 17:37 
Questionservers available in the network Pin
Member 400849210-May-08 4:38
Member 400849210-May-08 4:38 
AnswerRe: servers available in the network Pin
Dave Kreskowiak10-May-08 6:30
mveDave Kreskowiak10-May-08 6:30 
QuestionUnderstanding reflection.. Pin
som.nitk10-May-08 3:33
som.nitk10-May-08 3:33 
AnswerRe: Understanding reflection.. Pin
Roger Alsing10-May-08 3:57
Roger Alsing10-May-08 3:57 
QuestionEncryption and decryption using Certificate store across machines Pin
talisker7710-May-08 3:16
talisker7710-May-08 3:16 
Hi,

I have created a certificate both private and public key (created using MS SQL Server, and Visual Studio Tools), which I have imported into the Certificate Store under Trusted People, Machine Level.
I have a program that encrypts sensitive data on that server, using the private/public key.
I kan run the same program to decrypt data encrypted on the same machine, but when I run the program on another computer (using the same private key, in this case the pfk file) I'm getting error when I run decryption.
I also discovered that when I use the certificate store certificate to encrypt, and load the pfk file into my program to use that private key to decrypt the same data I fail to decrypt it.
I'm using .net X509Certificate lib, with RSA provider and CSParameters, on Windows Platform, both XP and windows server 2003.

I have read some worring comments that using certificate store to encrypt data, you have to decrypt this data using the same machine. Would this be the case, I'm not able to find any threads on the internet about this issue.

If there is an issue with encryption/decryption across machines using the certificate store facilities, which method would you recommend to ensure decryptablilty across machines?
I'm writing the code in C#, but it could be any managed code in .net.

Hope some here have some fact and tips in this case.

Thanks,
AnswerRe: Encryption and decryption using Certificate store across machines Pin
Ennis Ray Lynch, Jr.10-May-08 17:39
Ennis Ray Lynch, Jr.10-May-08 17:39 
Questionpie chart in c# Pin
Pankaj Garg10-May-08 0:12
Pankaj Garg10-May-08 0:12 
AnswerRe: pie chart in c# Pin
Dave Sexton10-May-08 0:32
Dave Sexton10-May-08 0:32 
QuestionRe: pie chart in c# Pin
Pankaj Garg10-May-08 0:41
Pankaj Garg10-May-08 0:41 
AnswerRe: pie chart in c# Pin
Abhijit Jana10-May-08 1:04
professionalAbhijit Jana10-May-08 1:04 
GeneralRe: pie chart in c# Pin
Pankaj Garg10-May-08 1:19
Pankaj Garg10-May-08 1:19 
GeneralRe: pie chart in c# Pin
Abhijit Jana10-May-08 1:30
professionalAbhijit Jana10-May-08 1:30 
QuestionRe: pie chart in c# Pin
Pankaj Garg10-May-08 2:14
Pankaj Garg10-May-08 2:14 
AnswerRe: pie chart in c# Pin
Abhijit Jana10-May-08 2:22
professionalAbhijit Jana10-May-08 2:22 
Questionproblem with Simple style combobox Pin
Member 41292189-May-08 22:55
Member 41292189-May-08 22:55 
AnswerRe: problem with Simple style combobox Pin
Abhijit Jana9-May-08 23:40
professionalAbhijit Jana9-May-08 23:40 
GeneralRe: problem with Simple style combobox Pin
Member 412921812-May-08 23:23
Member 412921812-May-08 23:23 
GeneralRe: problem with Simple style combobox Pin
Member 412921819-May-08 22:40
Member 412921819-May-08 22:40 
QuestionAssemblies Pin
MrColeyted9-May-08 22:23
MrColeyted9-May-08 22:23 
AnswerRe: Assemblies Pin
Abhijit Jana9-May-08 22:36
professionalAbhijit Jana9-May-08 22:36 
QuestionThere is already an open DataReader associated with this Command which must be closed first Pin
soniko9-May-08 12:30
soniko9-May-08 12:30 
AnswerRe: There is already an open DataReader associated with this Command which must be closed first Pin
CodingYoshi9-May-08 12:37
CodingYoshi9-May-08 12:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.