return NSSCertificateType_Unknown;
nss_cert_type_from_ck_attrib(CK_ATTRIBUTE_PTR attrib){    CK_CERTIFICATE_TYPE ckCertType;    ckCertType = *((CK_ULONG *)attrib->pValue);    switch (ckCertType) {    case CKC_X_509:	return NSSCertificateType_PKIX;	break;    default:	return NSSCertificateType_Unknown;    }    return NSSCertificateType_Unknown;}