class OpenSSLContextImpl

A wrapper around SSL_CTX whic is used to store the credentials of a server/client and the trusted ca certs.

Inheritance:


Public Methods

[more] OpenSSLContextImpl (Version version, bool isClient)
Internal class.
[more] ~OpenSSLContextImpl ()
Destructor
[more]void setCertificateFile (const string& certFile, FileType type)
Sets the identity certificate chain c of the client/server
[more]void setPrivateKeyFile (const string& keyFile, FileType type)
Sets the private key of the client/server
[more]void setTrustedCAS (const string& filename)
[more]void addTrustedCA (const Certificate& cert)

Protected Methods

[more]void doSetVerify (int verify)


Inherited from SSLContextImpl:

Public Methods

oVersion getVersion() const
obool isClientContext()
ovoid setVerify(int verify)
ovirtual string paramString() const


Documentation

A wrapper around SSL_CTX whic is used to store the credentials of a server/client and the trusted ca certs.

o OpenSSLContextImpl(Version version, bool isClient)
Internal class.

Parameters:
- Version version the version of openSSL that is supported. currently it must be TLS1 or SSL V3.
bool - isClient true for client context false otherwise

o ~OpenSSLContextImpl()
Destructor

ovoid setCertificateFile(const string& certFile, FileType type)
Sets the identity certificate chain c of the client/server

ovoid setPrivateKeyFile(const string& keyFile, FileType type)
Sets the private key of the client/server

ovoid setTrustedCAS(const string& filename)

ovoid addTrustedCA(const Certificate& cert)

ovoid doSetVerify(int verify)


This class has no child classes.
Friends:
class OpenSSLSecureSocketImpl
Author:
Shrilekha Mudumbai Abdelilah Essiari

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.