X509CertGetPrivateKey (FUN)ΒΆ
FUNCTION X509CertGetPrivateKey : RTS_IEC_RESULT
Get the PRIVATE key OF the certificate. THIS is only possible if the private key stored in the certificate store.
The format of this key is an implementation detail and has to match the expected format of the asymmetric functions of the CmpCrpyotItf. The key data is opaque for the user of the keys.
- InOut:
- Scope - Name - Type - Comment - Return - X509CertGetPrivateKey- RTS_IEC_RESULT- Input - hCertStore- RTS_IEC_HANDLE- Handle to the certificate store. - hCert- RTS_IEC_HANDLE- Handle of the certificate of interest. - pPrivateKey- POINTER TO RtsCryptoKey - Pointer to the cryptographic key storing the private key. 
