Imports the certificate stored in the file specified by pszRootCertFile into the keystore and places it in the "p6r.trustedroot" namespace, using the certificates subject hash as the unique identifier (name) for the certificate.
This allows the SSL networking layer to automatically locate the certificate when verifying the server's certificte for the secure connection. The certificate must be a PEM encoded X509 certificate.
- Parameters
-
pszRootCertFile | [ in ] A pointer to the NULL terminated pathname of the file containing the certificate to be imported into the keystore. |
puuidCert | [ out ] The address of a P6R::P6UUID in which if not NULL, will be placed the UUID of the imported certificate. |
- Returns