instance method
OpenSSL::X509::StoreContext#flags=
(::Integer flags) -> ::Integer
stctx.flags = flags
ext/openssl/ossl_x509store.c
View on GitHub ↗
static VALUE
ossl_x509stctx_set_flags(VALUE self, VALUE flags)
{
X509_STORE_CTX *store;
long f = NUM2LONG(flags);
GetX509StCtx(self, store);
X509_STORE_CTX_set_flags(store, f);
return flags;
}
Sets the verification flags to the context. This overrides the default value set by Store#flags=.
See also the man page X509_VERIFY_PARAM_set_flags(3).