x509_store_st

This is used to hold everything. It is used for all certificate validation. Once we have a certificate chain, the 'verify' function is then called to actually check the cert chain.

extern (C) nothrow @nogc
struct x509_store_st {}

Members

Variables

cache
int cache;

if true, stash any hits

cert_crl
int function(libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx, libressl_d.openssl.ossl_typ.X509_CRL* crl, libressl_d.openssl.ossl_typ.X509* x) cert_crl;

Check certificate against CRL

check_crl
int function(libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx, libressl_d.openssl.ossl_typ.X509_CRL* crl) check_crl;

Check CRL validity

check_issued
int function(libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx, libressl_d.openssl.ossl_typ.X509* x, libressl_d.openssl.ossl_typ.X509* issuer) check_issued;

check issued

check_revocation
int function(libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx) check_revocation;

Check revocation status of chain

cleanup
int function(libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx) cleanup;
Undocumented in source.
ex_data
libressl_d.openssl.ossl_typ.CRYPTO_EX_DATA ex_data;
Undocumented in source.
get_cert_methods
.stack_st_X509_LOOKUP* get_cert_methods;
Undocumented in source.
get_crl
int function(libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx, libressl_d.openssl.ossl_typ.X509_CRL** crl, libressl_d.openssl.ossl_typ.X509* x) get_crl;

retrieve CRL

get_issuer
int function(libressl_d.openssl.ossl_typ.X509** issuer, libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx, libressl_d.openssl.ossl_typ.X509* x) get_issuer;

get issuers cert from ctx

lookup_certs
libressl_d.openssl.x509.stack_st_X509* function(libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx, libressl_d.openssl.ossl_typ.X509_NAME* nm) lookup_certs;
Undocumented in source.
lookup_crls
libressl_d.openssl.x509.stack_st_X509_CRL* function(libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx, libressl_d.openssl.ossl_typ.X509_NAME* nm) lookup_crls;
Undocumented in source.
objs
.stack_st_X509_OBJECT* objs;

Cache of all objects

param
.X509_VERIFY_PARAM* param;
Undocumented in source.
references
int references;
Undocumented in source.
verify
int function(libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx) verify;

called to verify a certificate

verify_cb
int function(int ok, libressl_d.openssl.ossl_typ.X509_STORE_CTX* ctx) verify_cb;

error callback

Meta