Skip to content
instance method

OpenSSL::X509::StoreContext#error=

(::Integer error) -> ::Integer
stctx.error = error_code

Sets the error code of stctx. This is used by the verification callback set to OpenSSL::X509::Store#verify_callback=.

See also the man page X509_STORE_CTX_set_error(3).

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