return STAN_GetCERTCertificate(c);
return STAN_GetCERTCertificateOrRelease(c);
*pk11_fastCert(PK11SlotInfo *slot, CK_OBJECT_HANDLE certID, 			CK_ATTRIBUTE *privateLabel, char **nickptr){    NSSCertificate *c;    nssCryptokiObject *co;    nssPKIObject *pkio;    NSSToken *token;    NSSTrustDomain *td = STAN_GetDefaultTrustDomain();    /* Get the cryptoki object from the handle */    token = PK11Slot_GetNSSToken(slot);    co = nssCryptokiObject_Create(token, token->defaultSession, certID);    if (!co) {	return NULL;    }    /* Create a PKI object from the cryptoki instance */    pkio = nssPKIObject_Create(NULL, co, td, NULL);    if (!pkio) {	nssCryptokiObject_Destroy(co);	return NULL;    }    /* Create a certificate */    c = nssCertificate_Create(pkio);    if (!c) {	nssPKIObject_Destroy(pkio);	return NULL;    }    nssTrustDomain_AddCertsToCache(td, &c, 1);    /* Build the old-fashioned nickname */    if ((nickptr) && (co->label)) {	CK_ATTRIBUTE label, id;	label.type = CKA_LABEL;	label.pValue = co->label;	label.ulValueLen = PORT_Strlen(co->label);	id.type = CKA_ID;	id.pValue = c->id.data;	id.ulValueLen = c->id.size;	*nickptr = pk11_buildNickname(slot, &label, privateLabel, &id);    }    return STAN_GetCERTCertificate(c);}