Lines Matching defs:certs

100  * sunw_split_certs() - Given a list of certs and a list of private keys,
101 * moves certs which match one of the keys to a different stack.
105 * allcerts - Points to a stack of certs to be searched.
106 * keycerts - Points to address of a stack of certs with matching private
111 * certs. Keys are moved from 'allkeys' here when they have no
112 * matching certs. If this is NULL, matchless keys will be
115 * Notes: If an error occurs while moving certs, the cert being move may be
116 * lost. 'keycerts' may only contain part of the matching certs. The number
117 * of certs successfully moved can be found by checking sk_X509_num(keycerts).
122 * If all certs are removed from 'certs' and/or 'pkeys', it will be the
128 * >= 0 - The number of certs moved from 'cert' to 'pkcerts'.
463 * sunw_find_localkeyid() searches stacks of certs and private keys,
466 * Look for a keyid in a stack of certs. if 'certs' is NULL and 'pkeys' is
474 * pkeys - Points to a stack of private keys which match the certs.
476 * certs - Points to a stack of certs to search. If NULL, search the
495 STACK_OF(X509) *certs, EVP_PKEY **matching_pkey, X509 **matching_cert)
504 (pkeys == NULL || certs == NULL) ||
506 (certs != NULL && matching_cert == NULL)) {
523 retval = find_attr(NID_localKeyID, cmpstr, pkeys, &tmp_pkey, certs,
539 * sunw_find_fname() searches stacks of certs and private keys for one with
543 * Look for a friendlyname in a stack of certs. if 'certs' is NULL and 'pkeys'
550 * pkeys - Points to a stack of private keys which match the certs.
552 * certs - Points to a stack of certs to search. If NULL, search the
566 sunw_find_fname(char *fname, STACK_OF(EVP_PKEY) *pkeys, STACK_OF(X509) *certs,
576 (pkeys == NULL || certs == NULL) ||
578 (certs != NULL && matching_cert == NULL)) {
596 retval = find_attr(NID_friendlyName, cmpstr, pkeys, &tmp_pkey, certs,
626 * cert - Points to a client or CA certs to check