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
X509CertGetPrivateKeyRTS_IEC_RESULTInput
hCertStoreRTS_IEC_HANDLEHandle to the certificate store.
hCertRTS_IEC_HANDLEHandle of the certificate of interest.
pPrivateKeyPOINTER TO RtsCryptoKey
Pointer to the cryptographic key storing the private key.