Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKeystoreSSL2::replaceTrustedRootCert ( p6ICert pRootCert,
P6UUID puuidCert 
)
pure virtual

Replaces the specified certificate in the keystore with the one specified 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.

Parameters
pRootCert[ in ] A pointer to the p6ICert interface representing the certificate to replace the existing one in 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