X509_STORE_CTX_set_error() sets the error code of ctx to s. It may return a code != X509_V_OK even if X509_verify_cert() did not indicate an error, likely because a verification callback function has waived the error. ![]() See the "ERROR CODES" section for a full description of all error codes. X509_STORE_CTX_get_error() returns the error code of ctx. These functions are typically called after certificate or chain verification using X509_verify_cert(3) or X509_STORE_CTX_verify(3) has indicated an error or in a verification callback to determine the nature of an error. ![]() STACK_OF(X509) *X509_STORE_CTX_get1_chain(const X509_STORE_CTX *ctx) Ĭonst char *X509_verify_cert_error_string(long n) DESCRIPTION Void X509_STORE_CTX_set_current_cert(X509_STORE_CTX *ctx, X509 *x) X509 *X509_STORE_CTX_get_current_cert(const X509_STORE_CTX *ctx) Void X509_STORE_CTX_set_error_depth(X509_STORE_CTX *ctx, int depth) ![]() Int X509_STORE_CTX_get_error_depth(const X509_STORE_CTX *ctx) Void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx, int s) Int X509_STORE_CTX_get_error(const X509_STORE_CTX *ctx) X509_STORE_CTX_get_error, X509_STORE_CTX_set_error, X509_STORE_CTX_get_error_depth, X509_STORE_CTX_set_error_depth, X509_STORE_CTX_get_current_cert, X509_STORE_CTX_set_current_cert, X509_STORE_CTX_get0_cert, X509_STORE_CTX_get1_chain, X509_verify_cert_error_string - get or set certificate verification status information SYNOPSIS #include
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |