Lines Matching refs:bag
58 static int jdk_trust(PKCS12_SAFEBAG *bag, void *cbarg);
911 static int jdk_trust(PKCS12_SAFEBAG *bag, void *cbarg) in jdk_trust() argument
921 attrs = (STACK_OF(X509_ATTRIBUTE)*)PKCS12_SAFEBAG_get0_attrs(bag); in jdk_trust()
930 PKCS12_SAFEBAG_set0_attrs(bag, attrs); in jdk_trust()
999 int dump_certs_pkeys_bag(BIO *out, const PKCS12_SAFEBAG *bag, in dump_certs_pkeys_bag() argument
1010 attrs = PKCS12_SAFEBAG_get0_attrs(bag); in dump_certs_pkeys_bag()
1012 switch (PKCS12_SAFEBAG_get_nid(bag)) { in dump_certs_pkeys_bag()
1019 p8c = PKCS12_SAFEBAG_get0_p8inf(bag); in dump_certs_pkeys_bag()
1033 tp8 = PKCS12_SAFEBAG_get0_pkcs8(bag); in dump_certs_pkeys_bag()
1040 if ((p8 = PKCS12_decrypt_skey(bag, pass, passlen)) == NULL) in dump_certs_pkeys_bag()
1057 if (PKCS12_SAFEBAG_get0_attr(bag, NID_localKeyID)) { in dump_certs_pkeys_bag()
1063 if (PKCS12_SAFEBAG_get_bag_nid(bag) != NID_x509Certificate) in dump_certs_pkeys_bag()
1065 if ((x509 = PKCS12_SAFEBAG_get1_cert(bag)) == NULL) in dump_certs_pkeys_bag()
1077 i2a_ASN1_OBJECT(bio_err, PKCS12_SAFEBAG_get0_bag_type(bag)); in dump_certs_pkeys_bag()
1079 print_attribute(out, PKCS12_SAFEBAG_get0_bag_obj(bag)); in dump_certs_pkeys_bag()
1086 return dump_certs_pkeys_bags(out, PKCS12_SAFEBAG_get0_safes(bag), in dump_certs_pkeys_bag()
1091 i2a_ASN1_OBJECT(bio_err, PKCS12_SAFEBAG_get0_type(bag)); in dump_certs_pkeys_bag()