Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
OpenSSL::X509::Store#flags
store.flags → Integer
ext/openssl/ossl_x509store.c
View on GitHub ↗
static VALUE
ossl_x509store_get_flags(VALUE self)
{
X509_STORE *store;
X509_VERIFY_PARAM *vpm;
GetX509Store(self, store);
vpm = X509_STORE_get0_param(store);
return ULONG2NUM(X509_VERIFY_PARAM_get_flags(vpm));
}
Gets the verification flags for the Store.
See also the man page X509_VERIFY_PARAM_get_flags(3).