Re: importing public key from X509 certificate



In .NET 1.1 there is no connection between RSA and certificates. You have to use CAPICOM.

In .NET 2.0 you can use the X509Certificate2 class.

---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com

Hello,

I wanted some help for "How to import public key from X509 certificate
and encrypt it with an XML token". X509 class in ASP.NET 1.1 isnt much
help or maybe i am missing something here . I wanted to know if
someone has details about how to go about this.I m planning to use RSA
crypyto service provider and i dont know how to connect RSA
cryptoservice provider and X509 certificate.

Any help is appreciated.

Thanks,
Radhika


.



Relevant Pages

  • Re: Certificates Q
    ... at the certificate, the subject's public key field shows ... when they designed the industry standard way to transport RSA public ... we never need to encode ...
    (sci.crypt)
  • .Net & Java - RSA Encryption/Decryption Problem.
    ... I was given a pfx file. ... Then I exported the public key in an x509 certificate, ... decrypt using the certificate. ... initialize RSA using CSP that is initialized by that keycontainer. ...
    (microsoft.public.platformsdk.security)
  • Re: .Net & Java - RSA Encryption/Decryption Problem.
    ... Then I exported the public key in an x509 certificate, ... > that in my java code to encrypt the data and write it to a file as ... > decrypt using the certificate. ... > initialize RSA using CSP that is initialized by that keycontainer. ...
    (microsoft.public.platformsdk.security)
  • Re: importing public key into RSA object
    ... the params over to the RSA CSP. ... to access Windows certificate stores. ... > to encrypt data that will be decrypted using an existing java ... > decrypting using Java? ...
    (microsoft.public.dotnet.security)