Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

OpenSSL::X509::StoreContext#purpose=

stctx.purpose = purpose

Sets the purpose of the context. This overrides the default value set by Store#purpose=.

See also the man page X509_VERIFY_PARAM_set_purpose(3).

See also #flags= #time= #error_string #trust= also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0