return STAN_GetCERTCertificate(c);
CERT_FindCertByName(CERTCertDBHandle *handle, SECItem *name){    NSSCertificate *c;    NSSDER subject;    NSSUsage usage;    NSSCryptoContext *cc;    NSSITEM_FROM_SECITEM(&subject, name);    usage.anyUsage = PR_TRUE;    cc = STAN_GetDefaultCryptoContext();    c = NSSCryptoContext_FindBestCertificateBySubject(cc, &subject,                                                       NULL, &usage, NULL);    if (!c) {	c = NSSTrustDomain_FindBestCertificateBySubject(handle, &subject, 	                                                NULL, &usage, NULL);	if (!c) return NULL;    }    return STAN_GetCERTCertificate(c);}