Lines Matching refs:STACK_OF

183     EVP_PKEY **, X509 **, STACK_OF(X509) **);
185 STACK_OF(EVP_PKEY) **, STACK_OF(X509) **);
187 static int parse_outer(PKCS12 *, const char *, STACK_OF(EVP_PKEY) *,
188 STACK_OF(X509) *);
190 static int parse_all_bags(STACK_OF(PKCS12_SAFEBAG) *, const char *,
191 STACK_OF(EVP_PKEY) *, STACK_OF(X509) *);
194 STACK_OF(EVP_PKEY) *, STACK_OF(X509) *);
200 static int find_attr_by_nid(STACK_OF(X509_ATTRIBUTE) *, int);
201 static int find_attr(int, ASN1_STRING *, STACK_OF(EVP_PKEY) *,
202 EVP_PKEY **, STACK_OF(X509) *, X509 **);
205 static int get_key_cert(int, STACK_OF(EVP_PKEY) *, EVP_PKEY **,
206 STACK_OF(X509) *, X509 **cert);
207 static int move_certs(STACK_OF(X509) *, STACK_OF(X509) *);
208 static int sunw_append_keys(STACK_OF(EVP_PKEY) *,
209 STACK_OF(EVP_PKEY) *);
210 static int set_results(STACK_OF(EVP_PKEY) **,
211 STACK_OF(EVP_PKEY) **, STACK_OF(X509) **, STACK_OF(X509) **,
212 STACK_OF(X509) **, STACK_OF(X509) **,
213 STACK_OF(EVP_PKEY) **, STACK_OF(EVP_PKEY) **);
226 * or it should point to a valid STACK_OF(X509) structure. pkey and cert can
278 STACK_OF(X509) **ca)
376 * either be NULL or should point to a valid STACK_OF(X509) structure.
392 STACK_OF(EVP_PKEY) **pkey, STACK_OF(X509) **certs)
394 STACK_OF(EVP_PKEY) *work_kl = NULL;
395 STACK_OF(X509) *work_ca = NULL;
437 * be NULL, or it should point to a valid STACK_OF(X509) structure.
455 sunw_PKCS12_contents(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) **pkey,
456 STACK_OF(X509) **certs)
458 STACK_OF(EVP_PKEY) *work_kl = NULL;
459 STACK_OF(X509) *work_ca = NULL;
507 * be allocated. Otherwise, it must be a valid STACK_OF(509).
529 sunw_split_certs(STACK_OF(EVP_PKEY) *allkeys, STACK_OF(X509) *allcerts,
530 STACK_OF(X509) **keycerts, STACK_OF(EVP_PKEY) **nocerts)
532 STACK_OF(X509) *matching;
533 STACK_OF(EVP_PKEY) *nomatch;
637 sunw_PKCS12_create(const char *pass, STACK_OF(EVP_PKEY) *pkeys,
638 STACK_OF(X509) *certs, STACK_OF(X509) *cacerts)
642 STACK_OF(PKCS12_SAFEBAG) *bags = NULL;
643 STACK_OF(PKCS7) *safes = NULL;
1191 sunw_find_localkeyid(char *keyid_str, int len, STACK_OF(EVP_PKEY) *pkeys,
1192 STACK_OF(X509) *certs, EVP_PKEY **matching_pkey, X509 **matching_cert)
1263 sunw_find_fname(char *fname, STACK_OF(EVP_PKEY) *pkeys, STACK_OF(X509) *certs,
1543 STACK_OF(X509) **ca)
1545 STACK_OF(EVP_PKEY) *work_kl = NULL; /* Head for private key list */
1546 STACK_OF(EVP_PKEY) *nocerts = NULL; /* Head for alt. key list */
1547 STACK_OF(X509) *work_ca = NULL; /* Head for cert list */
1548 STACK_OF(X509) *work_cl = NULL;
1644 STACK_OF(EVP_PKEY) *tmpk;
1645 STACK_OF(X509) *tmpc;
1711 parse_outer(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) *kl,
1712 STACK_OF(X509) *cl)
1714 STACK_OF(PKCS12_SAFEBAG) *bags;
1715 STACK_OF(PKCS7) *asafes;
1766 parse_all_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass,
1767 STACK_OF(EVP_PKEY) *kl, STACK_OF(X509) *cl)
1800 parse_one_bag(PKCS12_SAFEBAG *bag, const char *pass, STACK_OF(EVP_PKEY) *kl,
1801 STACK_OF(X509) *cl)
2033 STACK_OF(EVP_PKEY) **pkeys, STACK_OF(X509) **certs)
2035 STACK_OF(X509_INFO) *info;
2036 STACK_OF(EVP_PKEY) *work_kl;
2037 STACK_OF(X509) *work_cl;
2177 sunw_append_keys(STACK_OF(EVP_PKEY) *dst, STACK_OF(EVP_PKEY) *src)
2208 move_certs(STACK_OF(X509) *dst, STACK_OF(X509) *src)
2254 get_key_cert(int n, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey, STACK_OF(X509) *cl,
2458 find_attr_by_nid(STACK_OF(X509_ATTRIBUTE) *attrs, int nid)
2594 find_attr(int nid, ASN1_STRING *str, STACK_OF(EVP_PKEY) *kl, EVP_PKEY **pkey,
2595 STACK_OF(X509) *cl, X509 **cert)
2739 set_results(STACK_OF(EVP_PKEY) **pkeys, STACK_OF(EVP_PKEY) **work_kl,
2740 STACK_OF(X509) **certs, STACK_OF(X509) **work_cl,
2741 STACK_OF(X509) **cacerts, STACK_OF(X509) **work_ca,
2742 STACK_OF(EVP_PKEY) **xtrakeys, STACK_OF(EVP_PKEY) **work_xl)