private static String getXMLType(int aKeyType) {
        switch(aKeyType) {
        case HARDWARE_KEY_TYPE_IMEI:    
            return "imei";
            
        case HARDWARE_KEY_TYPE_BTMAC:   
            return "btmac";
            
        case HARDWARE_KEY_TYPE_BBPIN:   
            return "bbpin";
            
        case HARDWARE_KEY_TYPE_IMSI:    
            return "imsi";
            
        case HARDWARE_KEY_TYPE_SEMC_SUBSCRIB: 
            return "semc_subscrib";
        
        case HARDWARE_KEY_TYPE_FINGAL_ID:
            return "fingal_id";
            
        case HARDWARE_KEY_TYPE_ESN:
            return "esn";
            
        case HARDWARE_KEY_TYPE_MSISDN:
            return "phone_msisdn";
            
        case HARDWARE_KEY_TYPE_FAKE:
            return "fake";
        }
        
        throw new IllegalArgumentException("HardwareKey created with invalid key type");
    }