Hi,
Could anyone tell me if it's possible to create a PKCS#7 from a
previously generated PKCS#1, using a keypair ( the PrivateKey) and
the CryptoAPI? Or is this a bad aproach to the rigth way to get a
PKCS#7 using just the KeyPair (without certificate) and CryptoAPI?
I'm in the way to begin to use CryptSignMessage, but at the time I'm
already able to create the PKCS#1 and I wouldlike to know if there is
any chance to use that PKCS#1 result.
Regards.
Valery Pryamikov - 19 Mar 2007 10:18 GMT
> Hi,
> Could anyone tell me if it's possible to create a PKCS#7 from a
[quoted text clipped - 7 lines]
>
> Regards.
Hi,
What do you mean? PKCS#1 specifies RSA encryption and format of keys.
PKCS#7 is description of general cryptographic messages (specifies how
you can envelope and sign data).
Even so both are ASN1 DER encoded buffers, but I don't see any
relation between keys format (PKCS#1) and message format (PKCS#7).
-Valery.
http://www.harper.no/valery