axTLS
axTLS.SSLUtil Class Reference

Some global helper functions. More...

Static Public Member Functions

static int BuildMode ()
 Return the build mode of the axTLS project. More...
 
static int MaxCerts ()
 Return the number of chained certificates that the client/server supports. More...
 
static int MaxCACerts ()
 Return the number of CA certificates that the client/server supports. More...
 
static bool HasPEM ()
 Indicate if PEM is supported. More...
 
static void DisplayError (int error_code)
 Display the text string of the error. More...
 
static string Version ()
 Return the version of the axTLS project.
 

Detailed Description

Some global helper functions.

Member Function Documentation

◆ BuildMode()

static int axTLS.SSLUtil.BuildMode ( )
inlinestatic

Return the build mode of the axTLS project.

Returns
The build mode is one of:
  • SSL_BUILD_SERVER_ONLY
  • SSL_BUILD_ENABLE_VERIFICATION
  • SSL_BUILD_ENABLE_CLIENT
  • SSL_BUILD_FULL_MODE

◆ MaxCerts()

static int axTLS.SSLUtil.MaxCerts ( )
inlinestatic

Return the number of chained certificates that the client/server supports.

Returns
The number of supported server certificates.

◆ MaxCACerts()

static int axTLS.SSLUtil.MaxCACerts ( )
inlinestatic

Return the number of CA certificates that the client/server supports.

Returns
The number of supported CA certificates.

◆ HasPEM()

static bool axTLS.SSLUtil.HasPEM ( )
inlinestatic

Indicate if PEM is supported.

Returns
true if PEM supported.

◆ DisplayError()

static void axTLS.SSLUtil.DisplayError ( int  error_code)
inlinestatic

Display the text string of the error.

Parameters
error_code[in] The integer error code.

Copyright © 2007 Cameron Rich