C# Class OpenSSL.Core.OpenSslException

Exception class to provide OpenSSL specific information when errors occur.
Inheritance: System.Exception
Mostra file Open project: langhuihui/csharprtmp Class Usage Examples

Public Methods

Method Description
OpenSslException ( ) : System

When this class is instantiated, GetErrorMessage() is called automatically. This will call ERR_get_error() on the native openssl interface, once for every error that is in the current context. The exception message is the concatination of each of these errors turned into strings using ERR_error_string_n().

Private Methods

Method Description
GetCurrentContext ( ) : List
GetErrorMessage ( List context ) : string
OpenSslException ( List context ) : System

Method Details

OpenSslException() public method

When this class is instantiated, GetErrorMessage() is called automatically. This will call ERR_get_error() on the native openssl interface, once for every error that is in the current context. The exception message is the concatination of each of these errors turned into strings using ERR_error_string_n().
public OpenSslException ( ) : System
return System