axTLS
axTLSj.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 boolean 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

static int axTLSj.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
static int axTLSj.SSLUtil.maxCerts ( )
inlinestatic

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

Returns
The number of supported client/server certificates.
static int axTLSj.SSLUtil.maxCACerts ( )
inlinestatic

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

Returns
The number of supported CA certificates.
static boolean axTLSj.SSLUtil.hasPEM ( )
inlinestatic

Indicate if PEM is supported.

Returns
true if PEM supported.
static void axTLSj.SSLUtil.displayError ( int  error_code)
inlinestatic

Display the text string of the error.

Parameters
error_code[in] The integer error code.
See Also
ssl.h for the error code list.

Copyright © 2007 Cameron Rich