Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISSLEngine::initialize ( P6R::p6IKeystore pKeystore,
P6R::p6IIoBufferFactory pBufferFactory,
const P6R::P6WCHAR pszHostname,
const P6R::P6WCHAR pszCiphers,
P6R::P6SECURESOCKETFLAGS  fFlags,
P6R::P6SIZE  socketID 
)
pure virtual

Used to initialize a secure socket and must be called successfully before using the socket via the standard p6ITcpSocket interface.

An optional keystore or the global system keystore can be used. The keystore namespace's that will be queried are

  • p6r.trustedroot Contains trusted root CA certificates. These should all be self signed.
  • p6r.ca Contains CA certificates that are not self signed root certificates. These are used to issue other certificates.
  • p6r.crl Contains certificates that have been revoked.

These namespaces must be appropriately populated in the keystore before calling this method.

Parameters
pKeystore[ in ] Optional. A pointer to a p6IKeystore interface to use for certificate and private key retrieval, or NULL if the global system keystore should be used.
fFlags
Returns