RSA key and CryptoAPI
From: Hector (HEPETI_at_yahoo.es)
Date: 11/27/04
- Next message: Hector: "Re: Creating a custom CSP"
- Previous message: Chris Peterson: "Custom SAS and WlxWkstaLockedSAS"
- Next in thread: Valery Pryamikov: "Re: RSA key and CryptoAPI"
- Reply: Valery Pryamikov: "Re: RSA key and CryptoAPI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 27 Nov 2004 04:58:52 -0800
Hi all,
I have a pair (modulus (n) ,private exponent (d)) from a RSA private
key (standard PKCS#1), and I would like to work with CryptoAPI.
The problem is when I call CryptImportKey, I need other parameters in
my private key structure (prime numbers, coefficient ...) that I don't
know how I can get it.
1) The standard says that both types of representation are valid, but
I wondered if CryptoAPI can work with the first one (only the pair
(n,d)).
2) If it doesn't, How can I get the second type from the first one?
(Getting prime numbers are enough)
Any help would be appreciated,
Regards
Héctor Pérez Tijero - University of Cantabria
- Next message: Hector: "Re: Creating a custom CSP"
- Previous message: Chris Peterson: "Custom SAS and WlxWkstaLockedSAS"
- Next in thread: Valery Pryamikov: "Re: RSA key and CryptoAPI"
- Reply: Valery Pryamikov: "Re: RSA key and CryptoAPI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|