X509CertCmsDecrypt (FUN)¶
FUNCTION X509CertCmsDecrypt : RTS_IEC_RESULT
Decrypt a CMS container.
- InOut:
- Scope - Name - Type - Comment - Return - X509CertCmsDecrypt- RTS_IEC_RESULT- ERR_OK if the container was successfully decrypted. ERR_PARAMETER if the given parameters are not consistent. - Input - hCertStore- RTS_IEC_HANDLE- Handle to the certificate store. - hRecipientCert- RTS_IEC_HANDLE- Handle to the recipients certificate. A private key of the certificate has to be available. Though the certificate has to be located in the “own” store. - pCms- POINTER TO RtsByteString - Pointer to a byte string storing the CMS container. - encoding- RtsCertEncoding- Encoding of the CMS container. - pOutData- POINTER TO RtsByteString - Pointer to a byte string where to store the extracted data. 
