he additional certificates, respectively, will be discarded. If any of <b>pkey</b> and <b>cert</b> is non-NULL the variable it points to is initialized. If <b>ca</b> is non-NULL and <b>*ca</b> is NULL a new STACK will be allocated. If <b>ca</b> is non-NULL and <b>*ca</b> is a valid STACK then additional certificates are appended in the given order to <b>*ca</b>.</p>

<p>The <b>friendlyName</b> and <b>localKeyID</b> attributes (if present) on each certificate will be stored in the <b>alias</b> and <b>keyid</