axTLSj::SSLUtil Class Reference
[Java API.]

Some global helper functions. More...

Static Public Member Functions

static int buildMode ()
 Return the build mode of the axTLS project.
static int maxCerts ()
 Return the number of chained certificates that the client/server supports.
static int maxCACerts ()
 Return the number of CA certificates that the client/server supports.
static boolean hasPEM ()
 Indicate if PEM is supported.
static void displayError (int error_code)
 Display the text string of the error.
static String version ()
 Return the version of the axTLS project.

Static Package Functions

 [static initializer]
 Load up the ddl/shared library.

Detailed Description

Some global helper functions.


Member Function Documentation

static int axTLSj::SSLUtil::buildMode (  )  [inline, static]

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 (  )  [inline, static]

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

Returns:
The number of supported client/server certificates.
static int axTLSj::SSLUtil::maxCACerts (  )  [inline, static]

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

Returns:
The number of supported CA certificates.
static boolean axTLSj::SSLUtil::hasPEM (  )  [inline, static]

Indicate if PEM is supported.

Returns:
true if PEM supported.
static void axTLSj::SSLUtil::displayError ( int  error_code  )  [inline, static]

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