title: Extracting client certificate & private key from .p12 file
body: <p>Can anybody tell me how to use </p>
  
  <pre><code>PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12); 
  
  int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca); 
  </code></pre>
  
  <p>any documenatation reference will also work.</p>