class Akenti::SSLContextImpl |
Interface for security contexts that mainly hold credentials and trusted ca infos.
![]() | ~SSLContextImpl () Destructor |
![]() | getVersion () const Returns the version number of the security context provider |
![]() | isClientContext () Returns true if this is a client context |
![]() | setVerify (int verify) Sets the level of peer verfication that is required. |
![]() | setCertificateFile (const string& certFile, FileType type = SSLConstants::PEM) Sets the path name of the file that contains the principal's X509 identity certificate. |
![]() | setPrivateKeyFile (const string& keyFile, FileType type = SSLConstants::PEM) Sets the path name of the file that contains the principal's private key |
![]() | addTrustedCA (const Certificate& cert) Adds a trusted ca |
![]() | setTrustedCAS (const string& filename) Sets the trusted cas. |
![]() | paramString () const Returns debugging info |
Interface for security contexts that mainly hold credentials and trusted ca infos.
* @param verify level. The choices for client contexts are: * VERIFY_NONE * VERIFY_PEER * VERIFY_PEER | VERIFY_FAIL_IF_NO_PEER_CERT * The following choices are also available for server contexts. * VERIFY_PEER | VERIFY_CLIENT_ONCE * VERIFY_PEER | VERIFY_FAIL_IF_NO_PEER_CERT | VERIFY_CLIENT_ONCE *
Alphabetic index HTML hierarchy of classes or Java