Re: Message signing fails when used in a driver
- From: Bert Vingerhoets <bertv.work@xxxxxxxxx>
- Date: Tue, 11 Dec 2007 01:35:51 -0800 (PST)
Hi again,
Apparently, serializing a certificate using
CertSerializeCertificateStoreElement does not serialize the private
key, it merely includes a reference to the private key container. When
deserializing the certificate when running in another user, the
private key container reference can no longer be resolved.
My question now is: how can I copy the entire certificate, including
the private key?
If, at the moment of installation of a certificate in Windows, 'allow
private key export' is checked, it is perfectly possible to (still in
Windows) export the certificate and install it in another user or on
another machine without losing the private key. Which API functions
does Windows use for this operation?
Regards,
Bert Vingerhoets
.
- References:
- Message signing fails when used in a driver
- From: Bert Vingerhoets
- Message signing fails when used in a driver
- Prev by Date: Re: How to add user control when logon to Vista?
- Next by Date: What's the mean of PIN cache in smart card csp
- Previous by thread: Message signing fails when used in a driver
- Next by thread: SChannel SEC_I_RENEGOTIATE after DecryptMessage
- Index(es):
Relevant Pages
|