ConstType getConstFromAttribute(CK_ATTRIBUTE_TYPE type)
getConstFromAttribute(CK_ATTRIBUTE_TYPE type)
ConstType getConstFromAttribute(CK_ATTRIBUTE_TYPE type){    int i;    for (i=0; i < constCount; i++) {	if (consts[i].type == ConstAttribute && consts[i].value == type) {	    return consts[i].attrType;	}    }    return ConstNone;}