Lines Matching defs:cert
82 * Given one or more of user private key, user cert and/or other (CA) certs,
116 X509 *cert = NULL;
136 cert = sk_X509_value(certs, i);
139 if ((bag = M_PKCS12_x5092certbag(cert)) == NULL) {
143 if (cert->aux != NULL && cert->aux->alias != NULL &&
144 cert->aux->alias->type == V_ASN1_UTF8STRING) {
145 str = utf82ascstr(cert->aux->alias);
160 if (cert->aux != NULL && cert->aux->keyid != NULL &&
161 cert->aux->keyid->type == V_ASN1_OCTET_STRING) {
162 str = cert->aux->keyid->data;
163 len = cert->aux->keyid->length;
186 cert = sk_X509_value(cacerts, i);
187 if ((bag = M_PKCS12_x5092certbag(cert)) == NULL) {
192 if (cert->aux != NULL && cert->aux->alias != NULL &&
193 cert->aux->alias->type == V_ASN1_UTF8STRING) {
194 str = utf82ascstr(cert->aux->alias);
209 if (cert->aux != NULL && cert->aux->keyid != NULL &&
210 cert->aux->keyid->type == V_ASN1_OCTET_STRING) {
211 str = cert->aux->keyid->data;
212 len = cert->aux->keyid->length;