Cross-Platform C++

ot::ssl
class SSLInitParameters

#include "ot/ssl/SSLInitParameters.h"

Structure containing parameters to initialize a SSLContext instance.

See also:
SSLContext::init()



Constructor/Destructor Summary
SSLInitParameters()
         Default constructor which initializes bUseDefaultCALocations to true.

Public Instance Data Members

bEnableAnonymousCipherSuites

bool bEnableAnonymousCipherSuites

Boolean flag indicating if anonymous cipher suites should be enabled. Anonymous cipher suites, which allow a client and server to negotiate a secret session key but do not provide authentication, are disabled. Anonymous cipher suites are sometimes useful because they don't require the use of public keys, but are considered dangerous because they are susceptible to man-in-the-middle attacks.



bUseDefaultCALocations

bool bUseDefaultCALocations

Boolean flag indicating if the SSL implementation should trust root ca certificates found in its default locations.



certificateChainFile

String certificateChainFile

PEM-encoded certificate file, starting with the application's certificate and ending with root CA's.



password

String password

password for decrypting the private key.



privateKeyFile

String privateKeyFile

PEM-encoded file containing private key.



trustedCADirectories

StringList trustedCADirectories

List of directory names which contain trusted root ca certificates.



trustedCAFiles

StringList trustedCAFiles

List of file names, each naming a PEM-encoded file containing one or more trusted root ca certificates.


Typedefs

StringList

typedef std::list< String > StringList

Constructor/Destructor Detail

SSLInitParameters

 SSLInitParameters()
Default constructor which initializes bUseDefaultCALocations to true.



Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2005 ElCel Technology   Trademark Acknowledgements