/external/openssl/crypto/pkcs12/ |
p12_npas.c | 69 static int newpass_bags(STACK_OF(PKCS12_SAFEBAG) *bags, char *oldpass, 107 STACK_OF(PKCS12_SAFEBAG) *bags; 120 bags = PKCS12_unpack_p7data(p7); 122 bags = PKCS12_unpack_p7encdata(p7, oldpass, -1); 126 sk_PKCS12_SAFEBAG_pop_free(bags, 128 bags = NULL; 131 if (!bags) { 135 if (!newpass_bags(bags, oldpass, newpass)) { 136 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); 141 if (bagnid == NID_pkcs7_data) p7new = PKCS12_pack_p7data(bags); [all...] |
p12_crt.c | 85 STACK_OF(PKCS12_SAFEBAG) *bags = NULL; 116 bag = PKCS12_add_cert(&bags, cert); 126 if (!PKCS12_add_cert(&bags, sk_X509_value(ca, i))) 130 if (bags && !PKCS12_add_safe(&safes, bags, nid_cert, iter, pass)) 133 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); 134 bags = NULL; 138 bag = PKCS12_add_key(&bags, pkey, keytype, iter, nid_key, pass); 154 if (bags && !PKCS12_add_safe(&safes, bags, -1, 0, NULL) [all...] |
p12_kiss.c | 68 static int parse_bags( STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass, 183 STACK_OF(PKCS12_SAFEBAG) *bags; 192 bags = PKCS12_unpack_p7data(p7); 194 bags = PKCS12_unpack_p7encdata(p7, pass, passlen); 196 if (!bags) { 200 if (!parse_bags(bags, pass, passlen, pkey, ocerts)) { 201 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); 205 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); 212 static int parse_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass, 216 for (i = 0; i < sk_PKCS12_SAFEBAG_num(bags); i++) [all...] |
p12_add.c | 170 STACK_OF(PKCS12_SAFEBAG) *bags) 201 bags, 1))) {
|
pkcs12.h | 193 STACK_OF(PKCS12_SAFEBAG) *bags); 255 int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags,
|
/external/openssl/apps/ |
pkcs12.c | 84 int dump_certs_pkeys_bags(BIO *out, STACK_OF(PKCS12_SAFEBAG) *bags, char *pass, 86 int dump_certs_pkeys_bag(BIO *out, PKCS12_SAFEBAG *bags, char *pass, int passlen, int options, char *pempass); 701 STACK_OF(PKCS12_SAFEBAG) *bags; 711 bags = PKCS12_unpack_p7data(p7); 719 bags = PKCS12_unpack_p7encdata(p7, pass, passlen); 721 if (!bags) goto err; 722 if (!dump_certs_pkeys_bags (out, bags, pass, passlen, 724 sk_PKCS12_SAFEBAG_pop_free (bags, PKCS12_SAFEBAG_free); 727 sk_PKCS12_SAFEBAG_pop_free (bags, PKCS12_SAFEBAG_free); 728 bags = NULL [all...] |
/external/openssl/include/openssl/ |
pkcs12.h | 193 STACK_OF(PKCS12_SAFEBAG) *bags); 255 int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags,
|
/frameworks/base/libs/utils/ |
ResourceTypes.cpp | 1490 bag_set*** bags; member in struct:android::ResTable::PackageGroup [all...] |