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