OpenSslException class

Exception thrown when an OpenSSL error occurs.

Implemented types

Constructors

OpenSslException(String message, [int errorCode = 0, String? function])

Properties

errorCode → int
final
function → String?
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.