OpenSslException class
Exception thrown when an OpenSSL error occurs.
- Implemented types
Constructors
- OpenSslException(String message, [int errorCode = 0, String? function])
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
checkError(
OpenSslFfi lib, {String? function, bool throwIfError = true}) → void - Checks the OpenSSL error queue. If there are errors, throws an SslException. Should be called after a C function returns a failure code.
-
clearError(
OpenSslFfi lib) → void - Clears the error queue.