Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
OpenSSL::X509::Revoked.new
(*untyped) -> ::OpenSSL::X509::Revoked
new(*args)
ext/openssl/ossl_x509revoked.c
View on GitHub ↗
static VALUE
ossl_x509revoked_initialize(int argc, VALUE *argv, VALUE self)
{
X509_REVOKED *rev;
if (argc != 0)
rb_warn("OpenSSL::X509::Revoked.new does not take any arguments");
ossl_want_uninitialized(self, &ossl_x509rev_type);
rev = X509_REVOKED_new();
if (!rev)
ossl_raise(eX509RevError, "X509_REVOKED_new");
RTYPEDDATA_DATA(self) = rev;
return self;
}
No documentation available