instance method
OpenSSL::X509::Store#flags=
(::Integer flags) -> ::Integer
store.flags = flags
ext/openssl/ossl_x509store.c
View on GitHub ↗
static VALUE
ossl_x509store_set_flags(VALUE self, VALUE flags)
{
X509_STORE *store;
long f = NUM2LONG(flags);
GetX509Store(self, store);
X509_STORE_set_flags(store, f);
return flags;
}
Sets the default flags used by certificate chain verification performed with the Store.
flags consists of zero or more of the constants defined in OpenSSL::X509 with name V_FLAG_* or’ed together.
OpenSSL::X509::StoreContext#flags= can be used to change the flags for a single verification operation.
See also the man page X509_VERIFY_PARAM_set_flags(3).