Functions | |
GSList * | CST_search_by_subj_name (CST *st, X509_NAME *subject_name) |
GSList * | CST_search_by_email (CST *st, const char *email) |
GSList * | CST_search_by_domain_name (CST *st, const char *domain_name) |
GSList * | CST_search_by_serial (CST *st, const char *serial) |
GSList * | CST_search_by_fingerprint (CST *st, const char *fingerprint) |
cst_t_seqnum | CST_search_issuer (CST *st, X509 *cert) |
GSList * | CST_search_by_folder_and_purpose (CST *st, const cst_t_cert_folder folder, const cst_t_cert_purpose purpose) |
GSList * | CST_search_by_folder (CST *st, const cst_t_cert_folder folder) |
GSList * | CST_all_expired (CST *st) |
GSList * | CST_all_revoked (CST *st) |
GSList * | CST_search_by_purpose (CST *st, const cst_t_cert_purpose purpose) |
cst_t_seqnum | CST_search_by_UID (CST *st, X509_NAME *issuer, ASN1_INTEGER *serial) |
cst_t_seqnum | CST_search_by_X509 (CST *st, X509 *xcert) |
GSList* CST_all_expired | ( | CST * | st | ) |
Get all expired certificates
st | Pointer to storage structure |
GSList* CST_all_revoked | ( | CST * | st | ) |
Get all revoked certificates
st | Pointer to storage structure |
GSList* CST_search_by_domain_name | ( | CST * | st, | |
const char * | domain_name | |||
) |
Search certifiacate by domain name
st | Pointer to storage structure | |
domain_name | Domain name of subject |
GSList* CST_search_by_email | ( | CST * | st, | |
const char * | ||||
) |
Search certifiacate by email
st | Pointer to storage structure | |
Email of subject |
GSList* CST_search_by_fingerprint | ( | CST * | st, | |
const char * | fingerprint | |||
) |
Search certifiacate by email
st | Pointer to storage structure | |
fingerprint | Fingerprint (see. CST_get_fingerprint()) |
GSList* CST_search_by_folder | ( | CST * | st, | |
const cst_t_cert_folder | folder | |||
) |
Get all certificates by folder If folder = CST_FOLDER_CA then return all CA certificates
st | Pointer to storage structure | |
folder | Folder |
GSList* CST_search_by_folder_and_purpose | ( | CST * | st, | |
const cst_t_cert_folder | folder, | |||
const cst_t_cert_purpose | purpose | |||
) |
Get all trusted certificates for given purpose in selected folder. For example, all CA certificates for WLAN.
st | Pointer to storage structure | |
folder | Folder | |
purpose | Certificate purpose |
GSList* CST_search_by_purpose | ( | CST * | st, | |
const cst_t_cert_purpose | purpose | |||
) |
Get all trusted certificates for given purpose
st | Pointer to storage structure | |
purpose | Certificate purpose |
GSList* CST_search_by_serial | ( | CST * | st, | |
const char * | serial | |||
) |
Search certifiacate by serial
st | Pointer to storage structure | |
serial | Serial number |
GSList* CST_search_by_subj_name | ( | CST * | st, | |
X509_NAME * | subject_name | |||
) |
Search certifiacate by subject name
st | Pointer to storage structure | |
subject_name | Subject Distinguished name |
cst_t_seqnum CST_search_by_UID | ( | CST * | st, | |
X509_NAME * | issuer, | |||
ASN1_INTEGER * | serial | |||
) |
Get certificate ID (int) by UID (issuer + serial)
st | Pointer to storage structure | |
issuer | Distinguished name of issuer | |
serial | Serial number |
cst_t_seqnum CST_search_by_X509 | ( | CST * | st, | |
X509 * | xcert | |||
) |
Get certificate ID (int) by openssl X509 certificate
st | Pointer to storage structure | |
xcert | X509 certificate |
cst_t_seqnum CST_search_issuer | ( | CST * | st, | |
X509 * | cert | |||
) |
Search issuer of given certifiacate
st | Pointer to storage structure | |
cert | Certificate |