Lines Matching refs:PKCS12
80 * Our PKCS12 code plugs into this framework by calling
82 * of a function code and an error code) onto the stack our PKCS12 code
85 * Consumers of our PKCS12 code can then call the OpenSSL error routines
138 { SUNW_R_PKCS12_PARSE_ERR, "PKCS12 parse error" },
139 { SUNW_R_PKCS12_CREATE_ERR, "PKCS12 create error" },
141 { SUNW_R_PARSE_CERT_ERR, "error parsing PKCS12 certificate" },
142 { SUNW_R_PARSE_BAG_ERR, "error parsing PKCS12 bag" },
143 { SUNW_R_MAKE_BAG_ERR, "error making PKCS12 bag" },
155 { SUNW_R_PKCS12_EMPTY_ERR, "empty PKCS12 structure" },
178 static int parse_pkcs12(PKCS12 *, const char *, int, char *, int, char *,
183 static int parse_outer(PKCS12 *, const char *, STACK_OF(EVP_PKEY) *,
218 * sunw_PKCS12_parse - Parse a PKCS12 structure and break it into its parts.
272 sunw_PKCS12_parse(PKCS12 *p12, const char *pass, int matchty, char *keyid,
279 /* If NULL PKCS12 structure, this is an error */
451 sunw_PKCS12_contents(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) **pkey,
613 * return an encrypted PKCS12 structure containing them.
629 * != NULL - Address of PKCS12 structure. The user is responsible for
632 PKCS12 *
643 PKCS12 *ret_p12 = NULL;
644 PKCS12 *p12 = NULL;
946 * a PKCS12 cert is pointless since it will be lost.
1358 * as a PKCS12 cert is pointless since it will be lost.
1533 parse_pkcs12(PKCS12 *p12, const char *pass, int matchty, char *keyid,
1699 * 1 - PKCS12 data object was parsed and lists of certs and private keys
1703 parse_outer(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) *kl,
2463 * Called by our PKCS12 code to read our function and error codes