|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <stdio.h>#include <string.h>#include <openssl/buf.h>#include <openssl/err.h>#include <openssl/digest.h>#include <openssl/mem.h>#include <openssl/obj.h>#include <openssl/thread.h>#include <openssl/x509_vfy.h>#include <openssl/x509v3.h>#include "../internal.h"Macros | |
| #define | V1_ROOT (EXFLAG_V1|EXFLAG_SS) |
| #define | ku_reject(x, usage) (((x)->ex_flags & EXFLAG_KUSAGE) && !((x)->ex_kusage & (usage))) |
| #define | xku_reject(x, usage) (((x)->ex_flags & EXFLAG_XKUSAGE) && !((x)->ex_xkusage & (usage))) |
| #define | ns_reject(x, usage) (((x)->ex_flags & EXFLAG_NSCERT) && !((x)->ex_nscert & (usage))) |
| #define | X509_PURPOSE_COUNT (sizeof(xstandard)/sizeof(X509_PURPOSE)) |
| #define | KU_TLS (KU_DIGITAL_SIGNATURE|KU_KEY_ENCIPHERMENT|KU_KEY_AGREEMENT) |
Functions | |
| int | X509_check_purpose (X509 *x, int id, int ca) |
| int | X509_PURPOSE_set (int *p, int purpose) |
| int | X509_PURPOSE_get_count (void) |
| X509_PURPOSE * | X509_PURPOSE_get0 (int idx) |
| int | X509_PURPOSE_get_by_sname (char *sname) |
| int | X509_PURPOSE_get_by_id (int purpose) |
| int | X509_PURPOSE_add (int id, int trust, int flags, int(*ck)(const X509_PURPOSE *, const X509 *, int), char *name, char *sname, void *arg) |
| void | X509_PURPOSE_cleanup (void) |
| int | X509_PURPOSE_get_id (X509_PURPOSE *xp) |
| char * | X509_PURPOSE_get0_name (X509_PURPOSE *xp) |
| char * | X509_PURPOSE_get0_sname (X509_PURPOSE *xp) |
| int | X509_PURPOSE_get_trust (X509_PURPOSE *xp) |
| int | X509_supported_extension (X509_EXTENSION *ex) |
| int | X509_check_ca (X509 *x) |
| int | X509_check_issued (X509 *issuer, X509 *subject) |
| int | X509_check_akid (X509 *issuer, AUTHORITY_KEYID *akid) |
| #define KU_TLS (KU_DIGITAL_SIGNATURE|KU_KEY_ENCIPHERMENT|KU_KEY_AGREEMENT) |
| #define X509_PURPOSE_COUNT (sizeof(xstandard)/sizeof(X509_PURPOSE)) |
| int X509_check_akid | ( | X509 * | issuer, |
| AUTHORITY_KEYID * | akid | ||
| ) |
| int X509_check_ca | ( | X509 * | x | ) |
| int X509_check_purpose | ( | X509 * | x, |
| int | id, | ||
| int | ca | ||
| ) |
| int X509_PURPOSE_add | ( | int | id, |
| int | trust, | ||
| int | flags, | ||
| int(*)(const X509_PURPOSE *, const X509 *, int) | ck, | ||
| char * | name, | ||
| char * | sname, | ||
| void * | arg | ||
| ) |
| X509_PURPOSE* X509_PURPOSE_get0 | ( | int | idx | ) |
| char* X509_PURPOSE_get0_name | ( | X509_PURPOSE * | xp | ) |
| char* X509_PURPOSE_get0_sname | ( | X509_PURPOSE * | xp | ) |
| int X509_PURPOSE_get_by_id | ( | int | purpose | ) |
| int X509_PURPOSE_get_by_sname | ( | char * | sname | ) |
| int X509_PURPOSE_get_count | ( | void | ) |
| int X509_PURPOSE_get_id | ( | X509_PURPOSE * | xp | ) |
| int X509_PURPOSE_get_trust | ( | X509_PURPOSE * | xp | ) |
| int X509_PURPOSE_set | ( | int * | p, |
| int | purpose | ||
| ) |
| int X509_supported_extension | ( | X509_EXTENSION * | ex | ) |
1.8.13