Context for SSL channels.
![]() | PSSLContext ( const void * sessionId = NULL, PINDEX idSize = 0 ) Create a new context for SSL channels. |
![]() | ~PSSLContext () Clean up the SSL context |
![]() | operator ssl_ctx_st * () const Get the internal SSL context structure |
![]() | SetCAPath ( const PDirectory & caPath ) Set the path to locate CA certificates. |
![]() | SetCAFile ( const PFilePath & caFile ) Set the CA certificate file. |
![]() | UseCertificate ( const PSSLCertificate & certificate ) Use the certificate specified |
![]() | UsePrivateKey ( const PSSLPrivateKey & key ) Use the private key file specified |
![]() | SetCipherList ( const PString & ciphers ) Set the available ciphers to those listed. |
Context for SSL channels. This class embodies a common environment for all connections made via SSL using the PSSLChannel class. It includes such things as the version of SSL and certificates, CA's etc.
~PSSLContext()
operator ssl_ctx_st *() const
BOOL SetCAPath( const PDirectory & caPath )
BOOL SetCAFile( const PFilePath & caFile )
BOOL UseCertificate( const PSSLCertificate & certificate )
BOOL UsePrivateKey( const PSSLPrivateKey & key )
BOOL SetCipherList( const PString & ciphers )
Alphabetic index HTML hierarchy of classes or Java