Lines Matching defs:pass

227  *   pass     - Pass phrase for the private key (possibly empty) or NULL if
272 sunw_PKCS12_parse(PKCS12 *p12, const char *pass, int matchty, char *keyid,
313 if (pass == NULL || *pass == '\0') {
315 pass = NULL;
317 pass = "";
323 } else if (PKCS12_verify_mac(p12, pass, -1) == 0) {
328 retval = parse_pkcs12(p12, pass, matchty, keyid, keyid_len,
367 * pass - Pass phrase for the private key or NULL if there is none.
437 * pass - Pass phrase for the private key and entire pkcs12 wad (possibly
451 sunw_PKCS12_contents(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) **pkey,
472 if (parse_outer(p12, pass, work_kl, work_ca) == 0) {
616 * pass - Pass phrase for the pkcs12 structure and private key (possibly
618 * both the private key(s) and as the pass phrase for the whole
633 sunw_PKCS12_create(const char *pass, STACK_OF(EVP_PKEY) *pkeys,
763 authsafe = PKCS12_pack_p7encdata(nid_cert, pass, -1,
797 bag = PKCS12_MAKE_SHKEYBAG(nid_key, pass, -1, NULL, 0,
876 if (PKCS12_set_mac(p12, pass, -1, NULL, 0, 2048, NULL) == 0) {
1506 * pass - Pass phrase for the private key (possibly empty) or NULL if
1533 parse_pkcs12(PKCS12 *p12, const char *pass, int matchty, char *keyid,
1544 retval = sunw_PKCS12_contents(p12, pass, &work_kl, &work_ca);
1703 parse_outer(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) *kl,
1724 bags = M_PKCS12_unpack_p7encdata(p7, pass, -1);
1735 if (parse_all_bags(bags, pass, kl, cl) == 0) {
1758 parse_all_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass,
1764 pass, kl, cl) == 0)
1773 * i = parse_one_bag(bag, pass, kl, cl);
1777 * pass - password for use in decryption of shrouded keybag
1792 parse_one_bag(PKCS12_SAFEBAG *bag, const char *pass, STACK_OF(EVP_PKEY) *kl,
1822 if ((p8 = M_PKCS12_decrypt_skey(bag, pass, -1)) == NULL) {
1905 if (parse_all_bags(bag->value.safes, pass, kl, cl) == 0) {