Method: OpenSSL::X509::StoreContext#current_cert

Defined in:
ossl_x509store.c

#current_certX509::Certificate

Returns:



667
668
669
670
671
672
673
674
675
# File 'ossl_x509store.c', line 667

static VALUE
ossl_x509stctx_get_curr_cert(VALUE self)
{
    X509_STORE_CTX *ctx;

    GetX509StCtx(self, ctx);

    return ossl_x509_new(X509_STORE_CTX_get_current_cert(ctx));
}