Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
x509_verify, x509_verify_ctx_new, x509_verify_ctx_free, x509_verify_ctx_set_max_depth, x509_verify_ctx_set_max_signatures, x509_verify_ctx_set_max_chains, x509_verify_ctx_set_purpose, x509_verify_ctx_set_intermediates, x509_verify_ctx_error_string, x509_verify_ctx_error_depth, x509_verify_ctx_chain — discover and verify X.509 certificate chainsSYNOPSIS
#include <openssl/x509_verify.h>x509_verify(X509_VERIFY_CTX *ctx, X509 *leaf, char *name);
x509_verify_ctx_new(STACK_OF(X509) *roots);
x509_verify_ctx_free(X509_VERIFY_CTX *ctx);
x509_verify_ctx_set_max_depth(X509_VERIFY_CTX *ctx, size_t max);
x509_verify_ctx_set_max_signatures(X509_VERIFY_CTX *ctx, size_t max);
x509_verify_ctx_set_max_chains(X509_VERIFY_CTX *ctx, size_t max);
x509_verify_ctx_set_purpose(X509_VERIFY_CTX *ctx, int purpose_id);
x509_verify_ctx_set_intermediates(X509_VERIFY_CTX *ctx, STACK_OF(X509) *intermediates);
x509_verify_ctx_error_string(X509_VERIFY_CTX *ctx);
x509_verify_ctx_error_depth(X509_VERIFY_CTX *ctx);
x509_verify_ctx_chain(X509_VERIFY_CTX *ctx, size_t index);