Lines Matching defs:cert
85 * cert - User cert to start with
95 get_cert_chain(PKG_ERR *err, X509 *cert, STACK_OF(X509) *clcerts,
130 (void) X509_STORE_CTX_init(store_ctx, ca_store, cert, clcerts);
131 /* attempt to verify the cert, which builds the cert chain */
135 get_subject_display_name(cert),
157 * Arguments: cert - The certificate to get the name from
160 * subject of the cert.
166 *get_subject_display_name(X509 *cert)
172 xname = X509_get_subject_name(cert);
188 * Arguments: cert - The certificate to get the name from
191 * of the issuer of the cert.
197 *get_issuer_display_name(X509 *cert)
203 xname = X509_get_issuer_name(cert);
218 * Description: Retrieves the serial number of an X509 cert
220 * Arguments: cert - The certificate to get the data from
223 * of the cert
228 *get_serial_num(X509 *cert)
233 if ((sn = X509_get_serialNumber(cert)) != 0) {
249 * Arguments: cert - The certificate to get the data from
253 * NULL if cert is NULL, or digest cannot be calculated
256 *get_fingerprint(X509 *cert, const EVP_MD *alg)
264 if (!X509_digest(cert, alg, md, &n)) {