Typedefs |
| typedef int | SSL_CTX_CERT_VERIFY_CB_T (SSLCERT_STORE_CTX *store_ctx, char *arg) |
| | The prototype for a user-defined verification routine. More...
|
| typedef int | SSL_CTX_APP_VERIFY_CB_T (SSL *ssl, SSLCERT **certs, int num, char *arg, long *verify_result) |
| | The prototype for a user-defined verification callback function. More...
|
| typedef int | SSL_VERIFY_CB_T (int ok, SSLCERT_STORE_CTX *store_ctx) |
| | The prototype for a user-defined extension to the default internal verification callback. More...
|
Functions |
| SSLCERT_STORE* | SSL_CTX_get_cert_store (SSL_CTX *ctx) |
| | Returns the structure for storing all data required for verification of a certificate chain for the SSL_CTX ctx. More...
|
| void | SSL_CTX_set_cert_store (SSL_CTX *, SSLCERT_STORE *) |
| | Specifies the SSLCERT_STORE store which stores all data required for verification of a certificate chain for the SSL_CTX ctx. More...
|
| void | SSL_CTX_set_verify_depth (SSL_CTX *ssl_ctx, int depth) |
| | Sets the verification depth for the SSL_CTX. More...
|
| int | SSL_CTX_get_verify_depth (SSL_CTX *ssl_ctx) |
| | Returns the certificate verification depth and limits the number of certificates in a chain. More...
|
| int | SSL_CTX_get_verify_mode (SSL_CTX *ctx) |
| | Returns the certificate verification mode for the SSL_CTX ctx. More...
|
| void | SSL_CTX_set_verify_mode (SSL_CTX *ctx, int mode) |
| | Sets the mode for the verification of peer certificates. More...
|
| void | SSL_CTX_set_cert_verify_cb (SSL_CTX *ctx, SSL_CTX_CERT_VERIFY_CB_T *cb, char *arg) |
| | Sets a user-defined certificate verification callback against the SSL_CTX. More...
|
| void | SSL_CTX_set_app_verify_cb (SSL_CTX *ctx, SSL_CTX_APP_VERIFY_CB_T *cb, char *arg) |
| | Sets the application verification callback for the SSL_CTX ctx. More...
|
| SSL_CTX_APP_VERIFY_CB_T* | SSL_CTX_get_app_verify_cb (SSL_CTX *ctx) |
| | Returns the application-supplied verification callback associated with the SSL_CTX. More...
|
| char* | SSL_CTX_get_app_verify_cb_arg (SSL_CTX *ctx) |
| | Returns the address of the user-defined application verification callback argument for the SSL_CTX ctx. More...
|
| int | SSL_CTX_set_default_verify_paths (SSL_CTX *ctx) |
| | Associates the pre-defined path and filenames for certificate verification with the SSL_CTX in a similar way to SSL_CTX_load_verify_locations(). More...
|
| int | SSL_CTX_load_verify_locations (SSL_CTX *ctx, char *CAfile, char *CApath) |
| | Specifies the directories, filenames and location of trusted certificates. More...
|
| int | SSL_CTX_add_certificate_to_store (SSL_CTX *ctx, SSLCERT *cert) |
| | Adds a certificate to the store managed by the SSL_CTX structure. More...
|
| void | SSL_CTX_set_verify (SSL_CTX *ctx, int mode, SSL_VERIFY_CB_T *cb) |
| | Sets a certificate verification callback against the SSL_CTX that extends the default internal verification. More...
|
| void | SSL_set_verify (SSL *ssl, int mode, SSL_VERIFY_CB_T *cb) |
| | Sets a certificate verification callback against the SSL_CTX that extends the default internal verification. More...
|
| void | SSL_CTX_set_verify_cb (SSL_CTX *ctx, SSL_VERIFY_CB_T *cb) |
| | Sets a certificate verification callback against the SSL_CTX that extends the default internal verification. More...
|
| SSL_VERIFY_CB_T* | SSL_CTX_get_verify_cb (SSL_CTX *ctx) |
| | Returns the certificate verification callback set against the SSL_CTX. More...
|
| void | SSL_set_verify_cb (SSL *s, SSL_VERIFY_CB_T *cb) |
| | Sets a certificate verification callback against the SSL_CTX that extends the default internal verification. More...
|
| SSL_VERIFY_CB_T* | SSL_get_verify_cb (SSL *ssl) |
| | Returns the certificate verification callback set against the SSL. More...
|
| void | SSL_set_verify_result (SSL *ssl, long verify) |
| | Sets the result of the certificate verification callback. More...
|
| long | SSL_get_verify_result (SSL *ssl) |
| | Returns the result of the certificate verification function. More...
|
| int | SSL_get_verify_depth (SSL *ssl) |
| | Returns the certificate verification depth and limits the number of certificates in a chain. More...
|
| void | SSL_set_verify_depth (SSL *ssl, int depth) |
| | Sets the verification depth for the SSL and determines the maximum number of certificates acceptable in a chain. More...
|
| int | SSL_get_verify_mode (SSL *ssl) |
| | Returns the certificate verification mode. More...
|
| void | SSL_set_verify_mode (SSL *ssl, int mode) |
| | Sets the verification mode for the SSL. More...
|
| int | SSLCERT_verify (SSLCERT *cert, EVP_PKEY *pkey) |
| | Verifies the SSLCERT certificate cert using the public key pkey. More...
|
| int | SSLCERT_get_notAfter (SSLCERT *cert, unsigned int *type, unsigned char **pp, long *length) |
| | Returns a reference to the string representation of the NotAfter field of the specified certificate. More...
|
| int | SSLCERT_get_notBefore (SSLCERT *cert, unsigned int *type, unsigned char **pp, long *length) |
| | Returns a reference to the string representation of the NotBefore field of the specified certificate. More...
|
| int | SSLCERT_subject_name_cmp (SSLCERT *cert1, SSLCERT *cert2) |
| | Compares the subject names of the two specified SSLCERT structures cert1 and cert2. More...
|
| int | SSLCERT_SKI_keyid_cmp (SSLCERT *cert1, SSLCERT *cert2) |
| | Compares the Subject Key Identifier (SKI) key ids of the two specified SSLCERT structures cert1 and cert2. More...
|
| int | SSLCERT_check_private_key (SSLCERT *cert, EVP_PKEY *pkey) |
| | Checks that the passed private key pkey was used when signing the certificate cert. More...
|
| int | SSLCERT_verify_signature (int alg_id, unsigned char *data, unsigned int dlen, unsigned char *signature, unsigned int slen, EVP_PKEY *pubkey) |
| | Verifies the signature value by generating a hash of the data and comparing it with the hash retrieved from the signature data using the public key. More...
|