Skip to content
instance method

OpenSSL::X509::StoreContext#error

() -> ::Integer?
stctx.error → Integer

Returns the error code of stctx. This is typically called after verify is done, or from the verification callback set to OpenSSL::X509::Store#verify_callback=.

See also the man page X509_STORE_CTX_get_error(3).

See also #error= #current_crl #current_cert #error_depth also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0