Lines Matching defs:pass

231  *   pass     - Pass phrase for the private key (possibly empty) or NULL if
276 sunw_PKCS12_parse(PKCS12 *p12, const char *pass, int matchty, char *keyid,
317 if (pass == NULL || *pass == '\0') {
319 pass = NULL;
321 pass = "";
327 } else if (PKCS12_verify_mac(p12, pass, -1) == 0) {
332 retval = parse_pkcs12(p12, pass, matchty, keyid, keyid_len,
371 * pass - Pass phrase for the private key or NULL if there is none.
441 * pass - Pass phrase for the private key and entire pkcs12 wad (possibly
455 sunw_PKCS12_contents(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) **pkey,
476 if (parse_outer(p12, pass, work_kl, work_ca) == 0) {
620 * pass - Pass phrase for the pkcs12 structure and private key (possibly
622 * both the private key(s) and as the pass phrase for the whole
637 sunw_PKCS12_create(const char *pass, STACK_OF(EVP_PKEY) *pkeys,
767 authsafe = PKCS12_pack_p7encdata(nid_cert, pass, -1,
801 bag = PKCS12_MAKE_SHKEYBAG(nid_key, pass, -1, NULL, 0,
880 if (PKCS12_set_mac(p12, pass, -1, NULL, 0, 2048, NULL) == 0) {
1514 * pass - Pass phrase for the private key (possibly empty) or NULL if
1541 parse_pkcs12(PKCS12 *p12, const char *pass, int matchty, char *keyid,
1552 retval = sunw_PKCS12_contents(p12, pass, &work_kl, &work_ca);
1711 parse_outer(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) *kl,
1732 bags = M_PKCS12_unpack_p7encdata(p7, pass, -1);
1743 if (parse_all_bags(bags, pass, kl, cl) == 0) {
1766 parse_all_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass,
1772 pass, kl, cl) == 0)
1781 * i = parse_one_bag(bag, pass, kl, cl);
1785 * pass - password for use in decryption of shrouded keybag
1800 parse_one_bag(PKCS12_SAFEBAG *bag, const char *pass, STACK_OF(EVP_PKEY) *kl,
1830 if ((p8 = M_PKCS12_decrypt_skey(bag, pass, -1)) == NULL) {
1913 if (parse_all_bags(bag->value.safes, pass, kl, cl) == 0) {